mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
Universal impl traits get removed earlier now
https://github.com/rust-lang/rust/pull/46754
This commit is contained in:
parent
7e099903be
commit
bebc192df4
1 changed files with 0 additions and 5 deletions
|
@ -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) => {
|
TyTraitObject(ref bounds, ref lt) => {
|
||||||
if !lt.is_elided() {
|
if !lt.is_elided() {
|
||||||
self.abort = true;
|
self.abort = true;
|
||||||
|
|
Loading…
Reference in a new issue