Skip to content

Commit ff33b27

Browse files
committed
Whitelist rustc_on_unimplemented to avoid erroneous flagging as an unused attribute.
1 parent 4fec737 commit ff33b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/feature_gate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ pub const BUILTIN_ATTRIBUTES: &[(&str, AttributeType, AttributeTemplate, Attribu
906906
not currently handle destructors.",
907907
cfg_fn!(thread_local))),
908908

909-
("rustc_on_unimplemented", Normal, template!(List:
909+
("rustc_on_unimplemented", Whitelisted, template!(List:
910910
r#"/*opt*/ message = "...", /*opt*/ label = "...", /*opt*/ note = "...""#,
911911
NameValueStr: "message"),
912912
Gated(Stability::Unstable,

0 commit comments

Comments
 (0)