Fix span_bug!
backtraces
This commit is contained in:
parent
1280928a99
commit
6af2d3cc90
1 changed files with 1 additions and 0 deletions
|
@ -847,6 +847,7 @@ impl DiagCtxt {
|
|||
self.struct_span_warn(span, msg).emit()
|
||||
}
|
||||
|
||||
#[track_caller]
|
||||
pub fn span_bug(&self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>) -> ! {
|
||||
self.struct_span_bug(span, msg).emit()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue