We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e26a2a5 + 8fbb013 commit 7cdf955Copy full SHA for 7cdf955
src/doc/rustc/src/lints/levels.md
@@ -90,7 +90,9 @@ This lint level gives you that.
90
'forbid' is a special lint level that's stronger than 'deny'. It's the same
91
as 'deny' in that a lint at this level will produce an error, but unlike the
92
'deny' level, the 'forbid' level can not be overridden to be anything lower
93
-than an error.
+than an error. However, lint levels may still be capped with `--cap-lints`
94
+(see below) so `rustc --cap-lints warn` will make lints set to 'forbid' just
95
+warn.
96
97
## Configuring warning levels
98
0 commit comments