From bffec1c1a1ff55f47e88a2df60bd574b57205aec Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Sat, 14 Oct 2017 18:57:28 +0200 Subject: Make usage of unstable feature on_unimplemented optional. --- components/script/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/lib.rs') 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)] -- cgit v1.2.3