Compare commits

...

2 commits

View file

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