]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint/src/passes.rs
Auto merge of #100966 - compiler-errors:revert-remove-deferred-sized-checks, r=pnkfelix
[rust.git] / compiler / rustc_lint / src / passes.rs
index 413f06a97a2455f8e76c7f5039ee87ea4c519c23..90c554c2e040bf248c36969efdbccb8409cca4ea 100644 (file)
@@ -243,6 +243,5 @@ fn name(&self) -> &'static str {
 }
 
 /// A lint pass boxed up as a trait object.
-pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + sync::Sync + 'static>;
-pub type LateLintPassObject =
-    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>;