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.
DiagnosticBuilder::struct_almost_fatal
1 parent b4a6239 commit 1e92223Copy full SHA for 1e92223
compiler/rustc_errors/src/lib.rs
@@ -878,16 +878,6 @@ impl DiagCtxt {
878
DiagnosticBuilder::new(self, Fatal, msg)
879
}
880
881
- /// Construct a builder at the `Fatal` level with the `msg`, that doesn't abort.
882
- #[rustc_lint_diagnostics]
883
- #[track_caller]
884
- pub fn struct_almost_fatal(
885
- &self,
886
- msg: impl Into<DiagnosticMessage>,
887
- ) -> DiagnosticBuilder<'_, FatalError> {
888
- DiagnosticBuilder::new(self, Fatal, msg)
889
- }
890
-
891
/// Construct a builder at the `Help` level with the `msg`.
892
#[rustc_lint_diagnostics]
893
pub fn struct_help(&self, msg: impl Into<DiagnosticMessage>) -> DiagnosticBuilder<'_, ()> {
0 commit comments