Skip to content

Commit

Permalink
Reword message at the end of the output if not run with a lint tool
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Nov 25, 2020
1 parent f4fb47b commit e54c060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_driver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +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.");
println!("Lint tools like Clippy 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 e54c060

Please sign in to comment.