We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a34074 commit 70e0af6Copy full SHA for 70e0af6
compiler/rustc_session/src/session.rs
@@ -488,7 +488,7 @@ impl Session {
488
) -> DiagnosticBuilder<'a, !> {
489
self.parse_sess.create_fatal(fatal)
490
}
491
- pub fn emit_fatal<'a>(&'a self, fatal: impl SessionDiagnostic<'a, !>) {
+ pub fn emit_fatal<'a>(&'a self, fatal: impl SessionDiagnostic<'a, !>) -> ! {
492
self.parse_sess.emit_fatal(fatal)
493
494
#[inline]
0 commit comments