Skip to content

Commit 13db749

Browse files
committed
Cleanup message at the end of the lint list output
1 parent 4daa263 commit 13db749

File tree

1 file changed

+1
-4
lines changed
  • compiler/rustc_driver/src

1 file changed

+1
-4
lines changed

compiler/rustc_driver/src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -961,10 +961,7 @@ Available lint options:
961961

962962
match (loaded_plugins, plugin.len(), plugin_groups.len()) {
963963
(false, 0, _) | (false, _, 0) => {
964-
println!(
965-
"Compiler plugins can provide additional lints and lint groups. To see a \
966-
listing of these, re-run `rustc -W help` with a crate filename."
967-
);
964+
println!("Compiler plugins can provide additional lints and lint groups.");
968965
}
969966
(false, ..) => panic!("didn't load lint plugins but got them anyway!"),
970967
(true, 0, 0) => println!("This crate does not load any lint plugins or lint groups."),

0 commit comments

Comments
 (0)