mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Cleanup message at the end of the lint list output
This commit is contained in:
parent
4daa263e0b
commit
13db749c4b
@ -961,10 +961,7 @@ Available lint options:
|
|||||||
|
|
||||||
match (loaded_plugins, plugin.len(), plugin_groups.len()) {
|
match (loaded_plugins, plugin.len(), plugin_groups.len()) {
|
||||||
(false, 0, _) | (false, _, 0) => {
|
(false, 0, _) | (false, _, 0) => {
|
||||||
println!(
|
println!("Compiler plugins can provide additional lints and lint groups.");
|
||||||
"Compiler plugins can provide additional lints and lint groups. To see a \
|
|
||||||
listing of these, re-run `rustc -W help` with a crate filename."
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
(false, ..) => panic!("didn't load lint plugins but got them anyway!"),
|
(false, ..) => panic!("didn't load lint plugins but got them anyway!"),
|
||||||
(true, 0, 0) => println!("This crate does not load any lint plugins or lint groups."),
|
(true, 0, 0) => println!("This crate does not load any lint plugins or lint groups."),
|
||||||
|
Loading…
Reference in New Issue
Block a user