diff options
| author | Ralf Jung <post@ralfj.de> | 2025-02-24 07:56:00 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-02-24 07:56:00 +0100 |
| commit | 18e19b9f04fed7363056fc19f5f836c05fd858de (patch) | |
| tree | a5355f8c6e871a3feb9e502b1ecebe6f6f561f56 /compiler/rustc_interface/src/errors.rs | |
| parent | e4de3acb971ce3c22d2cea43a8664bc570a9b3a8 (diff) | |
| parent | a4a9fb412e1b0420b570a2d6ac2cf81142c5cc11 (diff) | |
| download | rust-18e19b9f04fed7363056fc19f5f836c05fd858de.tar.gz rust-18e19b9f04fed7363056fc19f5f836c05fd858de.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
| -rw-r--r-- | compiler/rustc_interface/src/errors.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/errors.rs b/compiler/rustc_interface/src/errors.rs index ca4e556dcdb..eed729a1777 100644 --- a/compiler/rustc_interface/src/errors.rs +++ b/compiler/rustc_interface/src/errors.rs @@ -24,8 +24,9 @@ pub(crate) struct CrateNameInvalid<'a> { pub struct FerrisIdentifier { #[primary_span] pub spans: Vec<Span>, - #[suggestion(code = "ferris", applicability = "maybe-incorrect")] + #[suggestion(code = "{ferris_fix}", applicability = "maybe-incorrect")] pub first_span: Span, + pub ferris_fix: &'static str, } #[derive(Diagnostic)] |
