diff --git a/src/librustc_session/session.rs b/src/librustc_session/session.rs index e9077f4085909..cf94ff8b929e3 100644 --- a/src/librustc_session/session.rs +++ b/src/librustc_session/session.rs @@ -432,6 +432,7 @@ impl Session { } } /// Delay a span_bug() call until abort_if_errors() + #[track_caller] pub fn delay_span_bug>(&self, sp: S, msg: &str) { self.diagnostic().delay_span_bug(sp, msg) }