diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-08-03 13:47:04 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-09-23 13:47:30 +0000 |
| commit | 44ac8dcc71c908aa320ccb51717ab2a0a8262b1d (patch) | |
| tree | 5645b224b6fd5a848c92b6354d64eda959fccfa1 /compiler/rustc_hir_analysis/src/variance/constraints.rs | |
| parent | 855a75b6d68084dd98383f37950da43c87476f0d (diff) | |
| download | rust-44ac8dcc71c908aa320ccb51717ab2a0a8262b1d.tar.gz rust-44ac8dcc71c908aa320ccb51717ab2a0a8262b1d.zip | |
Remove GeneratorWitness and rename GeneratorWitnessMIR.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/variance/constraints.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/variance/constraints.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_hir_analysis/src/variance/constraints.rs b/compiler/rustc_hir_analysis/src/variance/constraints.rs index 8a40509d7cc..9aac7160f2e 100644 --- a/compiler/rustc_hir_analysis/src/variance/constraints.rs +++ b/compiler/rustc_hir_analysis/src/variance/constraints.rs @@ -314,11 +314,7 @@ impl<'a, 'tcx> ConstraintContext<'a, 'tcx> { // types, where we use Error as the Self type } - ty::Placeholder(..) - | ty::GeneratorWitness(..) - | ty::GeneratorWitnessMIR(..) - | ty::Bound(..) - | ty::Infer(..) => { + ty::Placeholder(..) | ty::GeneratorWitness(..) | ty::Bound(..) | ty::Infer(..) => { bug!("unexpected type encountered in variance inference: {}", ty); } } |
