about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-03-30 00:39:55 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-03-30 01:32:21 +0300
commit2dfd2a2a242e920b7378328b87f901652d9d81be (patch)
tree7aac9b506f1ee5a6ef6bfa941bb6e058a20443a2 /compiler/rustc_interface/src/errors.rs
parentd4812c8638173ec163825d56a72a33589483ec4c (diff)
downloadrust-2dfd2a2a242e920b7378328b87f901652d9d81be.tar.gz
rust-2dfd2a2a242e920b7378328b87f901652d9d81be.zip
Remove attribute `#[rustc_error]`
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
-rw-r--r--compiler/rustc_interface/src/errors.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/rustc_interface/src/errors.rs b/compiler/rustc_interface/src/errors.rs
index ef0235b5577..6b39b4f1891 100644
--- a/compiler/rustc_interface/src/errors.rs
+++ b/compiler/rustc_interface/src/errors.rs
@@ -74,20 +74,6 @@ pub struct TempsDirError;
 pub struct OutDirError;
 
 #[derive(Diagnostic)]
-#[diag(interface_rustc_error_fatal)]
-pub struct RustcErrorFatal {
-    #[primary_span]
-    pub span: Span,
-}
-
-#[derive(Diagnostic)]
-#[diag(interface_rustc_error_unexpected_annotation)]
-pub struct RustcErrorUnexpectedAnnotation {
-    #[primary_span]
-    pub span: Span,
-}
-
-#[derive(Diagnostic)]
 #[diag(interface_failed_writing_file)]
 pub struct FailedWritingFile<'a> {
     pub path: &'a Path,