File tree Expand file tree Collapse file tree 4 files changed +1
-4
lines changed Expand file tree Collapse file tree 4 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 33#![ feature( box_syntax) ]
44#![ feature( box_patterns) ]
55#![ feature( rustc_private) ]
6- #![ feature( slice_patterns) ]
76#![ feature( stmt_expr_attributes) ]
87#![ allow( clippy:: missing_docs_in_private_items, clippy:: must_use_candidate) ]
98#![ recursion_limit = "512" ]
Original file line number Diff line number Diff line change 11// run-rustfix
22#![allow(unused)]
33#![warn(clippy::all)]
4- #![feature(slice_patterns)]
54
65fn main() {
76 let v = Some(true);
Original file line number Diff line number Diff line change 11// run-rustfix
22#![ allow( unused) ]
33#![ warn( clippy:: all) ]
4- #![ feature( slice_patterns) ]
54
65fn main ( ) {
76 let v = Some ( true ) ;
Original file line number Diff line number Diff line change 11error: the `y @ _` pattern can be written as just `y`
2- --> $DIR/patterns.rs:11 :9
2+ --> $DIR/patterns.rs:10 :9
33 |
44LL | y @ _ => (),
55 | ^^^^^ help: try: `y`
You can’t perform that action at this time.
0 commit comments