2017-12-10 13:47:55 -06:00
|
|
|
error[E0616]: field `len` of struct `sub::S` is private
|
|
|
|
--> $DIR/issue-26472.rs:21:13
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let v = s.len;
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: a method `len` also exists, perhaps you wish to call it
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0616"
|