diff options
| author | bors <bors@rust-lang.org> | 2025-02-22 13:32:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-02-22 13:32:44 +0000 |
| commit | 15469f8f8ae0a77577745cf56d562600fdb6539a (patch) | |
| tree | 30bd0575f3ec4a09dedb0fce9dd9b7e33ba239b1 /compiler/rustc_interface/src/errors.rs | |
| parent | 8dac72bb1d12b2649acd0c190e41524f83da5683 (diff) | |
| parent | 4910eb9f97ddf70eb446b3a8e0c4234c39084ce1 (diff) | |
| download | rust-15469f8f8ae0a77577745cf56d562600fdb6539a.tar.gz rust-15469f8f8ae0a77577745cf56d562600fdb6539a.zip | |
Auto merge of #137420 - matthiaskrgr:rollup-rr0q37f, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #136910 (Implement feature `isolate_most_least_significant_one` for integer types) - #137183 (Prune dead regionck code) - #137333 (Use `edition = "2024"` in the compiler (redux)) - #137356 (Ferris 🦀 Identifier naming conventions) - #137362 (Add build step log for `run-make-support`) - #137377 (Always allow reusing cratenum in CrateLoader::load) - #137388 (Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7) - #137410 (Use StableHasher + Hash64 for dep_tracking_hash) - #137413 (jubilee cleared out the review queue) r? `@ghost` `@rustbot` modify labels: rollup
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)] |
