We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Sync
1 parent 7a42ca9 commit 74f2d58Copy full SHA for 74f2d58
compiler/rustc_lint/src/passes.rs
@@ -243,6 +243,5 @@ macro_rules! declare_combined_early_lint_pass {
243
}
244
245
/// A lint pass boxed up as a trait object.
246
-pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + sync::Sync + 'static>;
247
-pub type LateLintPassObject =
248
- Box<dyn for<'tcx> LateLintPass<'tcx> + sync::Send + sync::Sync + 'static>;
+pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + 'static>;
+pub type LateLintPassObject = Box<dyn for<'tcx> LateLintPass<'tcx> + sync::Send + 'static>;
0 commit comments