diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-10-14 18:57:28 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-10-16 20:20:18 +0200 |
commit | bffec1c1a1ff55f47e88a2df60bd574b57205aec (patch) | |
tree | 44d0f7c19b7bd2177ba478ad8f805e677f117887 /components/script/lib.rs | |
parent | 5a5b7d7f398f4da08fa53e175b7537b6e65d49c5 (diff) | |
download | servo-bffec1c1a1ff55f47e88a2df60bd574b57205aec.tar.gz servo-bffec1c1a1ff55f47e88a2df60bd574b57205aec.zip |
Make usage of unstable feature on_unimplemented optional.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index fcb68e2420e..28f4181b934 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -2,11 +2,11 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#![cfg_attr(feature = "unstable", feature(on_unimplemented))] #![feature(conservative_impl_trait)] #![feature(const_fn)] #![feature(core_intrinsics)] #![feature(mpsc_select)] -#![feature(on_unimplemented)] #![feature(plugin)] #![feature(proc_macro)] |