diff options
| author | Dillon Amburgey <dillona@dillona.com> | 2025-07-08 18:45:36 -0500 |
|---|---|---|
| committer | Dillon Amburgey <dillona@dillona.com> | 2025-07-08 18:45:36 -0500 |
| commit | ba4235bc855fedcf33b3b10496efaae55170ed4e (patch) | |
| tree | c4fe745624169d7d4b915ad18f806efd6eb5820c | |
| parent | ab68b0fb26485ab1fa6977b2d8b59cc8a171c4aa (diff) | |
| download | rust-ba4235bc855fedcf33b3b10496efaae55170ed4e.tar.gz rust-ba4235bc855fedcf33b3b10496efaae55170ed4e.zip | |
fix: correct typo in attr_parsing_previously_accepted message key
| -rw-r--r-- | compiler/rustc_attr_parsing/messages.ftl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_attr_parsing/messages.ftl b/compiler/rustc_attr_parsing/messages.ftl index 8a709ea5d20..bec3a1e8a59 100644 --- a/compiler/rustc_attr_parsing/messages.ftl +++ b/compiler/rustc_attr_parsing/messages.ftl @@ -146,12 +146,12 @@ attr_parsing_unused_duplicate = unused attribute .suggestion = remove this attribute .note = attribute also specified here - .warn = {-passes_previously_accepted} + .warn = {-attr_parsing_previously_accepted} attr_parsing_unused_multiple = multiple `{$name}` attributes .suggestion = remove this attribute .note = attribute also specified here --attr_parsing_perviously_accepted = +-attr_parsing_previously_accepted = this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
