Skip to content
Permalink
Browse files

Whitelist `rustc_on_unimplemented` to avoid erroneous flagging as an …

…unused attribute.
  • Loading branch information...
pnkfelix committed Mar 29, 2019
1 parent 4fec737 commit ff33b2733ad23d105160c4f1946d606f4ef31870
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libsyntax/feature_gate.rs
@@ -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,

0 comments on commit ff33b27

Please sign in to comment.
You can’t perform that action at this time.