summaryrefslogtreecommitdiffstats
path: root/src/test/ui/index-help.rs
blob: 66571ec41a097eec958651099390f5745806b0de (plain)
1
2
3
4
fn main() {
    let x = vec![1];
    x[0i32]; //~ ERROR E0277
}