Skip to content

Commit 44cb4f7

Browse files
committed
Remove some unnecessary Send bounds.
Required to get the parallel compiler building again.
1 parent 357aee9 commit 44cb4f7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler/rustc_lint/src/passes.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use crate::context::{EarlyContext, LateContext};
22

33
use rustc_ast as ast;
4-
use rustc_data_structures::sync;
54
use rustc_hir as hir;
65
use rustc_session::lint::builtin::HardwiredLints;
76
use rustc_session::lint::LintPass;
@@ -231,5 +230,5 @@ macro_rules! declare_combined_early_lint_pass {
231230
}
232231

233232
/// 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>;
233+
pub type EarlyLintPassObject = Box<dyn EarlyLintPass + 'static>;
234+
pub type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + 'tcx>;

0 commit comments

Comments
 (0)