You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_attr_parsing/messages.ftl
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -211,6 +211,10 @@ attr_parsing_stability_outside_std = stability attributes may not be used outsid
211
211
attr_parsing_suffixed_literal_in_attribute = suffixed literals are not allowed in attributes
212
212
.help = instead of using a suffixed literal (`1u8`, `1.0f32`, etc.), use an unsuffixed version (`1`, `1.0`, etc.)
213
213
214
+
attr_parsing_target_regression = attribute parser for `#[{$attribute_symbol}]` uses `AllowedTargets::AllowListWarnRest` but does not specify `Allow` or `Error` for target: `{$target}`
215
+
.help = this target is already emitting errs for all unparsed attrs so omitting it in `AllowListWarnRest` would mean a regression from emitting an error, to emitting a warn
216
+
.note = this is an internal rustc lint
217
+
214
218
attr_parsing_unknown_version_literal =
215
219
unknown version literal format, assuming it refers to a future version
0 commit comments