Universal impl traits get removed earlier now

https://github.com/rust-lang/rust/pull/46754
This commit is contained in:
Manish Goregaokar 2017-12-21 20:45:01 -08:00
parent 7e099903be
commit bebc192df4
1 changed files with 0 additions and 5 deletions

View File

@ -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;