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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
118 B
Rust
Raw Normal View History

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