Cleanup message at the end of the lint list output

This commit is contained in:
flip1995 2020-10-07 15:41:15 +02:00 committed by flip1995
parent 4daa263e0b
commit 13db749c4b
No known key found for this signature in database
GPG Key ID: 1CA0DF2AF59D68A5

View File

@ -961,10 +961,7 @@ Available lint options:
match (loaded_plugins, plugin.len(), plugin_groups.len()) {
(false, 0, _) | (false, _, 0) => {
println!(
"Compiler plugins can provide additional lints and lint groups. To see a \
listing of these, re-run `rustc -W help` with a crate filename."
);
println!("Compiler plugins can provide additional lints and lint groups.");
}
(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."),