rust/tests/ui/issues/issue-19244-1.rs
2023-01-11 09:32:08 +00:00

6 lines
118 B
Rust

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