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 8f9607f commit d93bad8Copy full SHA for d93bad8
compiler/rustc_errors/src/lib.rs
@@ -1066,13 +1066,6 @@ impl DiagCtxt {
1066
inner.good_path_delayed_bugs.push(DelayedDiagnostic::with_backtrace(diagnostic, backtrace));
1067
}
1068
1069
- #[track_caller]
1070
- pub fn span_bug_no_panic(&self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>) {
1071
- let mut diag = Diagnostic::new(Bug, msg);
1072
- diag.set_span(span);
1073
- self.emit_diagnostic(diag);
1074
- }
1075
-
1076
#[track_caller]
1077
#[rustc_lint_diagnostics]
1078
pub fn span_note(&self, span: impl Into<MultiSpan>, msg: impl Into<DiagnosticMessage>) {
0 commit comments