mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
21 lines
478 B
Plaintext
21 lines
478 B
Plaintext
error[E0609]: no field `0` on type `Point`
|
|
--> $DIR/tuple-index-not-tuple.rs:6:12
|
|
|
|
|
LL | origin.0;
|
|
| ^ unknown field
|
|
|
|
|
help: a field with a similar name exists
|
|
|
|
|
LL | origin.x;
|
|
| ~
|
|
|
|
error[E0609]: no field `0` on type `Empty`
|
|
--> $DIR/tuple-index-not-tuple.rs:8:11
|
|
|
|
|
LL | Empty.0;
|
|
| ^ unknown field
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0609`.
|