summaryrefslogtreecommitdiffstats
path: root/tests/ui/index_message.rs
blob: 88b848d6f85747848d5cd8d5564b93b86242301b (plain)
1
2
3
4
fn main() {
    let z = (10,);
    let _ = z[0]; //~ ERROR cannot index into a value of type `({integer},)`
}