rust/tests/ui/error-codes/E0528.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
125 B
Rust
Raw Normal View History

2016-08-30 06:13:37 -05:00
fn main() {
let r = &[1, 2];
match r {
2019-07-07 18:47:46 -05:00
&[a, b, c, rest @ ..] => {
2016-09-01 17:46:30 -05:00
//~^ ERROR E0528
2016-08-30 06:13:37 -05:00
}
}
}