1 error[E0616]: field `len` of struct `sub::S` is private
2 --> $DIR/issue-26472.rs:21:13
7 = note: a method `len` also exists, perhaps you wish to call it
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0616`.