2018-04-02 02:48:39 +08:00
|
|
|
error[E0609]: no field `1` on type `Foo`
|
2018-12-25 23:56:47 +08:00
|
|
|
--> $DIR/ex-E0612.rs:5:6
|
2018-04-02 02:48:39 +08:00
|
|
|
|
|
2019-03-09 20:03:44 +08:00
|
|
|
LL | y.1;
|
2023-11-09 14:01:10 +08:00
|
|
|
| ^ unknown field
|
2023-10-25 07:31:47 +08:00
|
|
|
|
|
|
|
|
help: a field with a similar name exists
|
|
|
|
|
|
|
|
|
LL | y.0;
|
|
|
|
| ~
|
2018-04-02 02:48:39 +08:00
|
|
|
|
2023-11-21 23:44:16 +08:00
|
|
|
error: aborting due to 1 previous error
|
2018-04-02 02:48:39 +08:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0609`.
|