[fine] This frame should not show up as the ICE panic cause

This commit is contained in:
John Doty 2024-04-06 15:19:32 -07:00
parent 52e1879ef4
commit 24b827b5ac

View file

@ -2813,6 +2813,7 @@ impl Semantics {
}
}
#[track_caller]
pub fn internal_compiler_error(&self, tr: Option<TreeRef>, message: &str) -> ! {
eprintln!("Internal compiler error: {message}!");
self.dump_compiler_state(tr);