You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lintcheck/README.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -67,3 +67,9 @@ is checked.
67
67
68
68
**Note:**`-Wclippy::all` is always enabled by default, unless `-Aclippy::all`
69
69
is explicitly specified in the options.
70
+
71
+
### Fix mode
72
+
You can run `./lintcheck/target/debug/lintcheck --fix` which will run Clippy with `-Zunstable-options --fix` and print a warning if Clippys suggestions fail to apply (if the resulting code does not build).
73
+
This lets us spot bad suggestions or false positives automatically in some cases.
74
+
75
+
Please note that the target dir should be cleaned afterwards since clippy will modify the downloaded sources which can lead to unexpected results when running lintcheck again afterwards.
0 commit comments