File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Expand file tree Collapse file tree 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> {
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}
Original file line number Diff line number Diff 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 {}
You can’t perform that action at this time.
0 commit comments