From bebc192df413e4c975c26c04200365dff251c29e Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 21 Dec 2017 20:45:01 -0800 Subject: [PATCH] Universal impl traits get removed earlier now https://github.com/rust-lang/rust/pull/46754 --- clippy_lints/src/lifetimes.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clippy_lints/src/lifetimes.rs b/clippy_lints/src/lifetimes.rs index 684e09e93c41..567b06a8ac15 100644 --- a/clippy_lints/src/lifetimes.rs +++ b/clippy_lints/src/lifetimes.rs @@ -334,11 +334,6 @@ impl<'a, 'tcx> Visitor<'tcx> for RefVisitor<'a, 'tcx> { } } } - TyImplTraitUniversal(_, ref param_bounds) => for bound in param_bounds { - if let RegionTyParamBound(_) = *bound { - self.record(&None); - } - }, TyTraitObject(ref bounds, ref lt) => { if !lt.is_elided() { self.abort = true;