diff options
| author | Ralf Jung <post@ralfj.de> | 2023-02-26 18:13:57 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-02-26 18:13:57 +0100 |
| commit | cb45103358c0fef99d7659e0949b3c65b3eabdd6 (patch) | |
| tree | e430c91fb4e29070945f79df7a47639e5cf4f9b1 /compiler/rustc_codegen_ssa/src/errors.rs | |
| parent | 9fb185210eaa9d2de7e8ab1161897edf2eaae758 (diff) | |
| parent | c4e0cd966062ca67daed20775f4e8a60c28e57df (diff) | |
| download | rust-cb45103358c0fef99d7659e0949b3c65b3eabdd6.tar.gz rust-cb45103358c0fef99d7659e0949b3c65b3eabdd6.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/errors.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index d81252653df..6dea7496fc3 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -1,8 +1,9 @@ //! Errors emitted by codegen_ssa use crate::back::command::Command; +use crate::fluent_generated as fluent; use rustc_errors::{ - fluent, DiagnosticArgValue, DiagnosticBuilder, ErrorGuaranteed, Handler, IntoDiagnostic, + DiagnosticArgValue, DiagnosticBuilder, ErrorGuaranteed, Handler, IntoDiagnostic, IntoDiagnosticArg, }; use rustc_macros::Diagnostic; @@ -388,7 +389,7 @@ pub struct LinkerNotFound { #[derive(Diagnostic)] #[diag(codegen_ssa_unable_to_exe_linker)] #[note] -#[note(command_note)] +#[note(codegen_ssa_command_note)] pub struct UnableToExeLinker { pub linker_path: PathBuf, pub error: Error, |
