summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-19244-1.rs
blob: 77fab7cfa32c76fe53c8103a804996005cf572b5 (plain)
1
2
3
4
5
6
const TUP: (usize,) = (42,);

fn main() {
    let a: [isize; TUP.1];
    //~^ ERROR no field `1` on type `(usize,)`
}