Reword message at the end of the output if not run with a lint tool

This commit is contained in:
flip1995 2020-11-25 13:16:36 +01:00
parent f4fb47b28e
commit e54c0600b4
No known key found for this signature in database
GPG Key ID: 1CA0DF2AF59D68A5

View File

@ -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."),