rust/tests/ui/consts/issue-19244-1.rs
2024-04-21 15:43:43 -03:00

7 lines
118 B
Rust

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