We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Send
1 parent 357aee9 commit 44cb4f7Copy full SHA for 44cb4f7
compiler/rustc_lint/src/passes.rs
@@ -1,7 +1,6 @@
1
use crate::context::{EarlyContext, LateContext};
2
3
use rustc_ast as ast;
4
-use rustc_data_structures::sync;
5
use rustc_hir as hir;
6
use rustc_session::lint::builtin::HardwiredLints;
7
use rustc_session::lint::LintPass;
@@ -231,5 +230,5 @@ macro_rules! declare_combined_early_lint_pass {
231
230
}
232
233
/// A lint pass boxed up as a trait object.
234
-pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + 'static>;
235
-pub type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + sync::Send + 'tcx>;
+pub type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
+pub type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + 'tcx>;
0 commit comments