Skip to content

Commit

Permalink
Cleanup message at the end of the lint list output
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Nov 24, 2020
1 parent 4daa263 commit 13db749
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions compiler/rustc_driver/src/lib.rs
Expand Up @@ -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."),
Expand Down

0 comments on commit 13db749

Please sign in to comment.