2020-09-02 10:40:56 +03:00
|
|
|
error[E0616]: field `0` of struct `Foo` is private
|
2020-03-22 11:18:06 -07:00
|
|
|
--> $DIR/ex-E0611.rs:11:6
|
2018-04-01 21:48:39 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | y.0;
|
2020-03-22 11:18:06 -07:00
|
|
|
| ^ private field
|
2018-04-01 21:48:39 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0616`.
|