We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DiagCtxt::span_bug_no_panic
1 parent 2863298 commit 006446eCopy full SHA for 006446e
compiler/rustc_errors/src/lib.rs
@@ -1079,13 +1079,6 @@ impl DiagCtxt {
1079
inner.good_path_delayed_bugs.push(DelayedDiagnostic::with_backtrace(diagnostic, backtrace));
1080
}
1081
1082
- #[track_caller]
1083
- pub fn span_bug_no_panic(&self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>) {
1084
- let mut diag = Diagnostic::new(Bug, msg);
1085
- diag.set_span(span);
1086
- self.emit_diagnostic(diag);
1087
- }
1088
-
1089
#[track_caller]
1090
#[rustc_lint_diagnostics]
1091
pub fn span_note(&self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>) {
0 commit comments