rust/tests/ui/tuple/index-invalid.rs
2023-01-11 09:32:08 +00:00

8 lines
223 B
Rust

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 `(((),),)`
}