diff options
| author | llogiq <bogusandre@gmail.com> | 2025-08-26 18:02:04 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 18:02:04 +0000 |
| commit | 9bfa95b6b310952fabe94b21d37aa0a61779c47d (patch) | |
| tree | 9cbf7a4cdc9f468c6a60353e3e6eeed6343bb53e /compiler/rustc_mir_transform/src/coverage/tests.rs | |
| parent | c394c00ae0bf224735907ea1cd0cc421db337d64 (diff) | |
| parent | a16500853434c8f38c14d6204457dc922a3c77ac (diff) | |
| download | rust-9bfa95b6b310952fabe94b21d37aa0a61779c47d.tar.gz rust-9bfa95b6b310952fabe94b21d37aa0a61779c47d.zip | |
Allow `--print=crate-root-lint-levels` (#15567)
rust-lang/rust-clippy#13468 delegated all `--print` requests to `rustc`; this PR adds an exception to `crate-root-lint-levels` (rust-lang/rust#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
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions
