mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-07 20:43:03 +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
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user