aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins/trace_in_no_trace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_plugins/trace_in_no_trace.rs')
-rw-r--r--components/script_plugins/trace_in_no_trace.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_plugins/trace_in_no_trace.rs b/components/script_plugins/trace_in_no_trace.rs
index fa5b9ef0444..50349cfcfbd 100644
--- a/components/script_plugins/trace_in_no_trace.rs
+++ b/components/script_plugins/trace_in_no_trace.rs
@@ -2,8 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-use crate::{get_trait_def_id, implements_trait, symbols};
-
use rustc_ast::ast::{AttrKind, Attribute};
use rustc_ast::token::TokenKind;
use rustc_ast::tokenstream::TokenTree;
@@ -16,6 +14,8 @@ use rustc_middle::ty;
use rustc_session::declare_lint;
use rustc_span::symbol::Symbol;
+use crate::{get_trait_def_id, implements_trait, symbols};
+
declare_lint!(
TRACE_IN_NO_TRACE,
Deny,