2018-02-07 19:35:35 -08:00
|
|
|
error[E0609]: no field `foo` on type `Foo`
|
|
|
|
--> $DIR/E0609.rs:18:15
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let _ = x.foo; //~ ERROR E0609
|
2018-02-07 19:35:35 -08:00
|
|
|
| ^^^ unknown field
|
|
|
|
|
|
|
|
|
= note: available fields are: `x`
|
|
|
|
|
|
|
|
error[E0609]: no field `1` on type `Bar`
|
|
|
|
--> $DIR/E0609.rs:21:5
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | y.1; //~ ERROR E0609
|
2018-02-07 19:35:35 -08:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0609"
|