Skip to content

Commit 7842dbc

Browse files
committed
Remove duplicated code and ignore deadlock test
1 parent 8283238 commit 7842dbc

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

clippy_dev/src/main.rs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -319,26 +319,5 @@ fn get_clap_config<'a>() -> ArgMatches<'a> {
319319
.help("This lint will be uplifted into rustc"),
320320
),
321321
)
322-
.subcommand(
323-
SubCommand::with_name("rename_lint")
324-
.about("Renames the given lint")
325-
.arg(
326-
Arg::with_name("old_name")
327-
.index(1)
328-
.required(true)
329-
.help("The name of the lint to rename"),
330-
)
331-
.arg(
332-
Arg::with_name("new_name")
333-
.index(2)
334-
.required_unless("uplift")
335-
.help("The new name of the lint"),
336-
)
337-
.arg(
338-
Arg::with_name("uplift")
339-
.long("uplift")
340-
.help("This lint will be uplifted into rustc"),
341-
),
342-
)
343322
.get_matches()
344323
}

clippy_lints/src/significant_drop_in_scrutinee.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ declare_clippy_lint! {
2929
/// the match block and thus will not unlock.
3030
///
3131
/// ### Example
32-
/// ```rust
32+
/// ```rust.ignore
3333
/// # use std::sync::Mutex;
3434
///
3535
/// # struct State {}

0 commit comments

Comments
 (0)