diff options
| author | Michael Goulet <michael@errs.io> | 2024-01-26 19:18:14 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-01-30 00:09:58 +0000 | 
| commit | 720d7a7a03b9997644fe28a12a80a910b2652760 (patch) | |
| tree | d351729989f64cdcebe7b384df07a2247fa1c415 /compiler/rustc_hir_analysis/src | |
| parent | dc050f6d5bb1cb9d7529b6d9881ad99d8ce6a20d (diff) | |
| download | rust-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.rs | 2 | 
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!( | 
