rust/src/test/ui/tuple/tuple-index-not-tuple.stderr

16 lines
396 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0609]: no field `0` on type `Point`
--> $DIR/tuple-index-not-tuple.rs:16:12
|
LL | origin.0;
| ^ did you mean `x`?
error[E0609]: no field `0` on type `Empty`
--> $DIR/tuple-index-not-tuple.rs:18:11
|
LL | Empty.0;
| ^ unknown field
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0609`.