Skip to content

Commit

Permalink
Whitelist rustc_on_unimplemented to avoid erroneous flagging as an …
Browse files Browse the repository at this point in the history
…unused attribute.
  • Loading branch information
pnkfelix committed Mar 29, 2019
1 parent 4fec737 commit ff33b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/feature_gate.rs
Expand Up @@ -906,7 +906,7 @@ pub const BUILTIN_ATTRIBUTES: &[(&str, AttributeType, AttributeTemplate, Attribu
not currently handle destructors.",
cfg_fn!(thread_local))),

("rustc_on_unimplemented", Normal, template!(List:
("rustc_on_unimplemented", Whitelisted, template!(List:
r#"/*opt*/ message = "...", /*opt*/ label = "...", /*opt*/ note = "...""#,
NameValueStr: "message"),
Gated(Stability::Unstable,
Expand Down

0 comments on commit ff33b27

Please sign in to comment.