]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0586.rs
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0586.rs
1 fn main() {
2     let tmp = vec![0, 1, 2, 3, 4, 4, 3, 3, 2, 1];
3     let x = &tmp[1..=]; //~ ERROR E0586
4 }