Skip to content

Commit c5c523f

Browse files
committed
fix(upstream): new typing mode
1 parent 7794b03 commit c5c523f

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mir/elaborate_drop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ where
551551
let subpath = self.elaborator.field_subpath(variant_path, field_idx);
552552
let tcx = self.tcx();
553553

554-
match self.elaborator.typing_env().typing_mode() {
554+
match self.elaborator.typing_env().typing_mode().assert_not_erased() {
555555
ty::TypingMode::PostAnalysis => {}
556556
ty::TypingMode::Coherence
557557
| ty::TypingMode::Analysis { .. }

0 commit comments

Comments
 (0)