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