Skip to content

Commit bebc192

Browse files
committed
Universal impl traits get removed earlier now
rust-lang/rust#46754
1 parent 7e09990 commit bebc192

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

clippy_lints/src/lifetimes.rs

-5
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,6 @@ impl<'a, 'tcx> Visitor<'tcx> for RefVisitor<'a, 'tcx> {
334334
}
335335
}
336336
}
337-
TyImplTraitUniversal(_, ref param_bounds) => for bound in param_bounds {
338-
if let RegionTyParamBound(_) = *bound {
339-
self.record(&None);
340-
}
341-
},
342337
TyTraitObject(ref bounds, ref lt) => {
343338
if !lt.is_elided() {
344339
self.abort = true;

0 commit comments

Comments
 (0)