diff options
Diffstat (limited to 'compiler/rustc_save_analysis/src/errors.rs')
-rw-r--r-- | compiler/rustc_save_analysis/src/errors.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_save_analysis/src/errors.rs b/compiler/rustc_save_analysis/src/errors.rs index f0ce41d02..585aac8c1 100644 --- a/compiler/rustc_save_analysis/src/errors.rs +++ b/compiler/rustc_save_analysis/src/errors.rs @@ -1,9 +1,9 @@ -use rustc_macros::SessionDiagnostic; +use rustc_macros::Diagnostic; use std::path::Path; -#[derive(SessionDiagnostic)] -#[diag(save_analysis::could_not_open)] +#[derive(Diagnostic)] +#[diag(save_analysis_could_not_open)] pub(crate) struct CouldNotOpen<'a> { pub file_name: &'a Path, pub err: std::io::Error, |