]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-26472.stderr
Auto merge of #50665 - alexcrichton:fix-single-item-path-warnings, r=oli-obk
[rust.git] / src / test / ui / issue-26472.stderr
1 error[E0616]: field `len` of struct `sub::S` is private
2   --> $DIR/issue-26472.rs:21:13
3    |
4 LL |     let v = s.len;
5    |             ^^^^^
6    |
7    = note: a method `len` also exists, perhaps you wish to call it
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0616`.