]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_lint/src/passes.rs
Rollup merge of #101573 - lcnr:param-kind-ord, r=BoxyUwU
[rust.git] / compiler / rustc_lint / src / passes.rs
index 90c554c2e040bf248c36969efdbccb8409cca4ea..666e61b85acfc8c21eeaac9705da51e98f5678d0 100644 (file)
@@ -244,4 +244,4 @@ fn name(&self) -> &'static str {
 
 /// A lint pass boxed up as a trait object.
 pub type EarlyLintPassObject = Box<dyn EarlyLintPass + sync::Send + 'static>;
-pub type LateLintPassObject = Box<dyn for<'tcx> LateLintPass<'tcx> + sync::Send + 'static>;
+pub type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + sync::Send + 'tcx>;