Remove duplicated code and ignore deadlock test

This commit is contained in:
xFrednet 2022-05-20 23:32:09 +02:00
parent 8283238973
commit 7842dbc4f5
No known key found for this signature in database
GPG Key ID: FCDCBF29AF64D601
2 changed files with 1 additions and 22 deletions

View File

@ -319,26 +319,5 @@ fn get_clap_config<'a>() -> ArgMatches<'a> {
.help("This lint will be uplifted into rustc"),
),
)
.subcommand(
SubCommand::with_name("rename_lint")
.about("Renames the given lint")
.arg(
Arg::with_name("old_name")
.index(1)
.required(true)
.help("The name of the lint to rename"),
)
.arg(
Arg::with_name("new_name")
.index(2)
.required_unless("uplift")
.help("The new name of the lint"),
)
.arg(
Arg::with_name("uplift")
.long("uplift")
.help("This lint will be uplifted into rustc"),
),
)
.get_matches()
}

View File

@ -29,7 +29,7 @@
/// the match block and thus will not unlock.
///
/// ### Example
/// ```rust
/// ```rust.ignore
/// # use std::sync::Mutex;
///
/// # struct State {}