diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-01-27 15:05:50 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-02-02 15:40:11 +0000 |
| commit | dbda6754194bbfd34980916a62acd01baf5e75e4 (patch) | |
| tree | 7bd619d11585c65eefcb26fcc79e4fd0e768cc3a | |
| parent | b45fabddfddd3d70d79848be5ff45dd5ef6de9c5 (diff) | |
| download | rust-dbda6754194bbfd34980916a62acd01baf5e75e4.tar.gz rust-dbda6754194bbfd34980916a62acd01baf5e75e4.zip | |
Undo a diff
| -rw-r--r-- | compiler/rustc_infer/src/infer/freshen.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/freshen.rs b/compiler/rustc_infer/src/infer/freshen.rs index d159c14b1cf..4af1bdf97a7 100644 --- a/compiler/rustc_infer/src/infer/freshen.rs +++ b/compiler/rustc_infer/src/infer/freshen.rs @@ -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), } |
