Don't translate compiler-internal bug messages
This commit is contained in:
parent
c67cb3e577
commit
d97ec97b94
6 changed files with 27 additions and 45 deletions
|
@ -677,7 +677,7 @@ impl Session {
|
|||
pub fn delay_span_bug<S: Into<MultiSpan>>(
|
||||
&self,
|
||||
sp: S,
|
||||
msg: impl Into<DiagnosticMessage>,
|
||||
msg: impl Into<String>,
|
||||
) -> ErrorGuaranteed {
|
||||
self.diagnostic().delay_span_bug(sp, msg)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue