Skip to content

Commit ba4235b

Browse files
committed
fix: correct typo in attr_parsing_previously_accepted message key
1 parent ab68b0f commit ba4235b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_attr_parsing/messages.ftl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ attr_parsing_unused_duplicate =
146146
unused attribute
147147
.suggestion = remove this attribute
148148
.note = attribute also specified here
149-
.warn = {-passes_previously_accepted}
149+
.warn = {-attr_parsing_previously_accepted}
150150
151151
attr_parsing_unused_multiple =
152152
multiple `{$name}` attributes
153153
.suggestion = remove this attribute
154154
.note = attribute also specified here
155155
156-
-attr_parsing_perviously_accepted =
156+
-attr_parsing_previously_accepted =
157157
this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!

0 commit comments

Comments
 (0)