@@ -1685,10 +1685,10 @@ attr : ident [ '=' literal
1685
1685
~~~~
1686
1686
1687
1687
Static entities in Rust -- crates, modules and items -- may have _ attributes_
1688
- applied to them. Attributes in Rust are modeled on Attributes in ECMA-335, C#.
1689
- An attribute is a general, free-form metadatum that is interpreted according
1690
- to name, convention, and language and compiler version. Attributes may appear
1691
- as any of:
1688
+ applied to them. Attributes in Rust are modeled on Attributes in ECMA-335,
1689
+ with the syntax coming from ECMA-334 (C#). An attribute is a general,
1690
+ free-form metadatum that is interpreted according to name, convention, and
1691
+ language and compiler version. Attributes may appear as any of:
1692
1692
1693
1693
* A single identifier, the attribute name
1694
1694
* An identifier followed by the equals sign '=' and a literal, providing a
@@ -1881,8 +1881,8 @@ For any lint check `C`:
1881
1881
* ` deny(C) ` signals an error after encountering a violation of ` C ` ,
1882
1882
* ` allow(C) ` overrides the check for ` C ` so that violations will go
1883
1883
unreported,
1884
- * ` forbid(C) ` is the same as ` deny(C) ` , but also forbids uses of
1885
- ` allow(C) ` within the attribute .
1884
+ * ` forbid(C) ` is the same as ` deny(C) ` , but also forbids changing the lint
1885
+ level afterwards .
1886
1886
1887
1887
The lint checks supported by the compiler can be found via ` rustc -W help ` ,
1888
1888
along with their default settings.
0 commit comments