mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
5 lines
104 B
Rust
5 lines
104 B
Rust
fn main() {
|
|
let tmp = vec![0, 1, 2, 3, 4, 4, 3, 3, 2, 1];
|
|
let x = &tmp[1..=]; //~ ERROR E0586
|
|
}
|