Undo a diff

This commit is contained in:
Oli Scherer 2022-01-27 15:05:50 +00:00
parent b45fabddfd
commit dbda675419

View File

@ -214,8 +214,8 @@ impl<'a, 'tcx> TypeFolder<'tcx> for TypeFreshener<'a, 'tcx> {
| ty::Foreign(..)
| ty::Param(..)
| ty::Closure(..)
| ty::Opaque(..)
| ty::GeneratorWitness(..) => t.super_fold_with(self),
| ty::GeneratorWitness(..)
| ty::Opaque(..) => t.super_fold_with(self),
ty::Placeholder(..) | ty::Bound(..) => bug!("unexpected type {:?}", t),
}