os-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 13:13:37 +02:00
fn main() {
let r = &[1, 2];
match r {
2019-07-08 01:47:46 +02:00
&[a, b, c, rest @ ..] => {
2016-09-01 18:46:30 -04:00
//~^ ERROR E0528
2016-08-30 13:13:37 +02:00
}
}
}