#![warn(rust_2018_idioms, unused_lifetimes)]
use clap::{App, AppSettings, Arg, ArgMatches, SubCommand};
-use clippy_dev::{bless, fmt, new_lint, serve, setup, stderr_length_check, update_lints};
+use clippy_dev::{bless, fmt, new_lint, serve, setup, update_lints};
fn main() {
let matches = get_clap_config();
Err(e) => eprintln!("Unable to create lint: {}", e),
}
},
- ("limit_stderr_length", _) => {
- stderr_length_check::check();
- },
("setup", Some(sub_command)) => match sub_command.subcommand() {
("intellij", Some(matches)) => setup::intellij::setup_rustc_src(
matches
.takes_value(true),
),
)
- .subcommand(
- SubCommand::with_name("limit_stderr_length")
- .about("Ensures that stderr files do not grow longer than a certain amount of lines."),
- )
.subcommand(
SubCommand::with_name("setup")
.about("Support for setting up your personal development environment")