File tree 2 files changed +1
-22
lines changed
2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -319,26 +319,5 @@ fn get_clap_config<'a>() -> ArgMatches<'a> {
319
319
. help ( "This lint will be uplifted into rustc" ) ,
320
320
) ,
321
321
)
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
- )
343
322
. get_matches ( )
344
323
}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ declare_clippy_lint! {
29
29
/// the match block and thus will not unlock.
30
30
///
31
31
/// ### Example
32
- /// ```rust
32
+ /// ```rust.ignore
33
33
/// # use std::sync::Mutex;
34
34
///
35
35
/// # struct State {}
You can’t perform that action at this time.
0 commit comments