Commit 9bfa95b
authored
Allow
rust-lang/rust-clippy#13468 delegated all `--print` requests to `rustc`;
this PR adds an exception to `crate-root-lint-levels`
(rust-lang#139180), i.e.:
```
$ rustc -Zunstable-options --print=crate-root-lint-levels /dev/null | wc -l
230
$ clippy-driver -Zunstable-options --print=crate-root-lint-levels /dev/null | wc -l
230
$ cargo run --bin clippy-driver -- -Zunstable-options --print=crate-root-lint-levels /dev/null | wc -l
1020
```
So as to have a way to print all Clippy lint levels in a
machine-readable format.
----
changelog: none--print=crate-root-lint-levels (rust-lang#15567)1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
| 334 | + | |
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
| |||
0 commit comments