rust/tests/ui/issues/issue-19244-1.rs

7 lines
118 B
Rust
Raw Normal View History

const TUP: (usize,) = (42,);
2014-11-25 03:19:58 -06:00
fn main() {
let a: [isize; TUP.1];
//~^ ERROR no field `1` on type `(usize,)`
2014-11-25 03:19:58 -06:00
}