rust/src/test/ui/issues/issue-19244-1.rs
2018-12-25 21:08:33 -07:00

7 lines
118 B
Rust

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