rust/tests/ui/tuple/index-invalid.rs

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

8 lines
223 B
Rust
Raw Normal View History

fn main() {
let _ = (((),),).1.0; //~ ERROR no field `1` on type `(((),),)`
let _ = (((),),).0.1; //~ ERROR no field `1` on type `((),)`
let _ = (((),),).000.000; //~ ERROR no field `000` on type `(((),),)`
}