diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-07-20 09:51:47 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-07-20 09:51:47 +0000 |
| commit | d97ec97b9486fe5798938e6842bda2385e906cbc (patch) | |
| tree | 4a45f9adb1a185303a55d3f1c89f794e66f905c2 /compiler/rustc_session | |
| parent | c67cb3e577bdd4de640eb11d96cd5ef5afe0eb0b (diff) | |
| download | rust-d97ec97b9486fe5798938e6842bda2385e906cbc.tar.gz rust-d97ec97b9486fe5798938e6842bda2385e906cbc.zip | |
Don't translate compiler-internal bug messages
Diffstat (limited to 'compiler/rustc_session')
| -rw-r--r-- | compiler/rustc_session/src/session.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs index 0f5d3b291db..146bb11bd3a 100644 --- a/compiler/rustc_session/src/session.rs +++ b/compiler/rustc_session/src/session.rs @@ -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) } |
