We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 46d65f8 + 5fc70e7 commit 0c96434Copy full SHA for 0c96434
src/attributes/diagnostics.md
@@ -43,8 +43,9 @@ pub mod m1 {
43
```
44
45
Lint attributes can override the level specified from a previous attribute, as
46
-long as the level does not attempt to change a forbidden lint. Previous
47
-attributes are those from a higher level in the syntax tree, or from a
+long as the level does not attempt to change a forbidden lint
+(except for `deny`, which is allowed inside a `forbid` context, but ignored).
48
+Previous attributes are those from a higher level in the syntax tree, or from a
49
previous attribute on the same entity as listed in left-to-right source order.
50
51
This example shows how one can use `allow` and `warn` to toggle a particular
0 commit comments