2017-05-17 14:19:44 +02:00
|
|
|
error: the `y @ _` pattern can be written as just `y`
|
2017-08-01 17:54:21 +02:00
|
|
|
--> $DIR/patterns.rs:10:9
|
2017-05-17 14:19:44 +02:00
|
|
|
|
|
|
|
|
10 | y @ _ => (),
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D redundant-pattern` implied by `-D warnings`
|
|
|
|
|
2017-07-03 06:37:30 +02:00
|
|
|
error: aborting due to previous error
|
2017-05-17 14:19:44 +02:00
|
|
|
|