]> git.lizzy.rs Git - rust.git/blob - src/test/ui/index-help.rs
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[rust.git] / src / test / ui / index-help.rs
1 fn main() {
2     let x = vec![1];
3     x[0i32]; //~ ERROR E0277
4 }