rust/tests/ui/patterns.stderr
Matthias Krüger b2c4f09d77 rustup https://github.com/rust-lang/rust/pull/67712
slice_patterns have been stabilized.
2020-01-18 23:43:28 +01:00

11 lines
259 B
Plaintext

error: the `y @ _` pattern can be written as just `y`
--> $DIR/patterns.rs:10:9
|
LL | y @ _ => (),
| ^^^^^ help: try: `y`
|
= note: `-D clippy::redundant-pattern` implied by `-D warnings`
error: aborting due to previous error