diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-11-08 11:38:24 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-11-08 11:38:24 +0100 |
commit | f2e7b4ec8ca990ad7c37b0bd1f8215e0456c1206 (patch) | |
tree | 6714cd369802a713d7e6fc2facc07d96aef1bf4c /components/script/lib.rs | |
parent | 9a518cf7979b79b34611135d09c1dd0a96945255 (diff) | |
download | servo-f2e7b4ec8ca990ad7c37b0bd1f8215e0456c1206.tar.gz servo-f2e7b4ec8ca990ad7c37b0bd1f8215e0456c1206.zip |
Remove use of on_unimplemented
It errors in today’s Nightly:
```rust
error[E0557]: feature has been removed
--> components/script/lib.rs:9:12
|
9 | #![feature(on_unimplemented)]
| ^^^^^^^^^^^^^^^^ feature has been removed
error[E0658]: this is an internal attribute that will never be stable
--> components/script/dom/bindings/conversions.rs:77:1
|
77 | #[rustc_on_unimplemented(message = "The IDL interface `{Self}` is not derived from `{T}`.")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/29642
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
error: aborting due to 2 previous errors
```
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index 48f42cd7a38..250f860eda2 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -6,7 +6,6 @@ #![feature(core_intrinsics)] #![feature(drain_filter)] #![feature(inner_deref)] -#![feature(on_unimplemented)] #![feature(plugin)] #![deny(unsafe_code)] #![allow(non_snake_case)] |