mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
11 lines
255 B
Rust
11 lines
255 B
Rust
//@ run-pass
|
|
|
|
fn main() {
|
|
let xs = [13, 1, 5, 2, 3, 1, 21, 8];
|
|
if let [3..=14, ..] = xs {
|
|
/* this variant must pass for now, unfortunately.
|
|
* This test is included here to help inform a future plan for these.
|
|
*/
|
|
};
|
|
}
|