X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_lint%2Fsrc%2Fpasses.rs;h=666e61b85acfc8c21eeaac9705da51e98f5678d0;hb=ae4973281bee496f107ed9db5c3ff1487981af4e;hp=90c554c2e040bf248c36969efdbccb8409cca4ea;hpb=1484742f4ab19cbca9de4156bf42a67d08a3c58f;p=rust.git diff --git a/compiler/rustc_lint/src/passes.rs b/compiler/rustc_lint/src/passes.rs index 90c554c2e04..666e61b85ac 100644 --- a/compiler/rustc_lint/src/passes.rs +++ b/compiler/rustc_lint/src/passes.rs @@ -244,4 +244,4 @@ fn name(&self) -> &'static str { /// A lint pass boxed up as a trait object. pub type EarlyLintPassObject = Box; -pub type LateLintPassObject = Box LateLintPass<'tcx> + sync::Send + 'static>; +pub type LateLintPassObject<'tcx> = Box + sync::Send + 'tcx>;