diff options
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index 0e652d0be5b..5333f5ea1b5 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -7,17 +7,10 @@ #![feature(register_tool)] #![deny(unsafe_code)] #![doc = "The script crate contains all matters DOM."] -#![cfg_attr( - not(any( - feature = "unrooted_must_root_lint", - feature = "trace_in_no_trace_lint" - )), - allow(unknown_lints) -)] -#![allow(deprecated)] // FIXME: Can we make `allow` only apply to the `plugin` crate attribute? -#![plugin(script_plugins)] -#![register_tool(unrooted_must_root_lint)] -#![register_tool(trace_in_no_trace_lint)] +#![register_tool(crown)] +// Issue a warning if `crown` cannot be found. +#![warn(unknown_lints)] +#![deny(crown_is_not_used)] // These are used a lot so let's keep them for now #[macro_use] |