We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 949f584 commit 5fab7ecCopy full SHA for 5fab7ec
README.md
@@ -125,6 +125,11 @@ before_script:
125
# etc
126
```
127
128
+Note that adding `-D warnings` will cause your build to fail if **any** warnings are found in your code.
129
+That includes warnings found by rustc (e.g. `dead_code`, etc.). If you want to avoid this and only cause
130
+an error for clippy warnings, use `#![deny(clippy::all)]` in your code or `-D clippy::all` on the command
131
+line. (You can swap `clippy::all` with the specific lint category you are targetting.)
132
+
133
## Configuration
134
135
Some lints can be configured in a TOML file named `clippy.toml` or `.clippy.toml`. It contains a basic `variable = value` mapping eg.
0 commit comments