1
Fork 0
rust/src/test/ui/tuple/index-invalid.stderr

22 lines
555 B
Text
Raw Normal View History

error[E0609]: no field `1` on type `(((),),)`
--> $DIR/index-invalid.rs:2:22
|
LL | let _ = (((),),).1.0;
2020-04-19 15:30:34 +03:00
| ^^^
error[E0609]: no field `1` on type `((),)`
2020-04-19 15:30:34 +03:00
--> $DIR/index-invalid.rs:4:22
|
LL | let _ = (((),),).0.1;
2020-04-19 15:30:34 +03:00
| ^^^
error[E0609]: no field `000` on type `(((),),)`
--> $DIR/index-invalid.rs:6:22
|
LL | let _ = (((),),).000.000;
2020-04-19 15:30:34 +03:00
| ^^^^^^^
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0609`.