Skip to content

Commit 0379244

Browse files
committed
rfc: cfg_attr-multiple-attrs: Emit unused_attributes warning specifically
1 parent b97b58f commit 0379244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-cfg_attr-multiple-attrs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ is valid. This example would be equivalent to
107107
## Warning When Zero Attributes
108108

109109
This RFC allows `#[cfg_attr(predicate)]`. This is so that macros can generate
110-
it. Having it in the source text emits a warning.
110+
it. Having it in the source text emits an `unused_attributes` warning.
111111

112112
## Attribute Syntax Opportunity Cost
113113

0 commit comments

Comments
 (0)