1 error[E0616]: field `len` of struct `sub::S` is private
2 --> $DIR/issue-26472.rs:11:13
7 | help: a method `len` also exists, call it with parentheses: `len()`
9 error[E0616]: field `len` of struct `sub::S` is private
10 --> $DIR/issue-26472.rs:12:5
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0616`.