about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-01-26 19:18:14 +0000
committerMichael Goulet <michael@errs.io>2024-01-30 00:09:58 +0000
commit720d7a7a03b9997644fe28a12a80a910b2652760 (patch)
treed351729989f64cdcebe7b384df07a2247fa1c415 /compiler/rustc_hir_analysis/src
parentdc050f6d5bb1cb9d7529b6d9881ad99d8ce6a20d (diff)
downloadrust-720d7a7a03b9997644fe28a12a80a910b2652760.tar.gz
rust-720d7a7a03b9997644fe28a12a80a910b2652760.zip
Apply suggestions from review
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
-rw-r--r--compiler/rustc_hir_analysis/src/check/dropck.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/dropck.rs b/compiler/rustc_hir_analysis/src/check/dropck.rs
index 3d2d667763a..7b60457affa 100644
--- a/compiler/rustc_hir_analysis/src/check/dropck.rs
+++ b/compiler/rustc_hir_analysis/src/check/dropck.rs
@@ -189,7 +189,7 @@ fn ensure_drop_predicates_are_implied_by_item_defn<'tcx>(
                 RegionResolutionError::UpperBoundUniverseConflict(a, _, _, _, b) => {
                     format!("{b}: {a}", a = ty::Region::new_var(tcx, a))
                 }
-                RegionResolutionError::CannotNormalize(..) => todo!(),
+                RegionResolutionError::CannotNormalize(..) => unreachable!(),
             };
             guar = Some(
                 struct_span_code_err!(