summary refs log tree commit diff
path: root/src/test/ui/issue-26472.stderr
blob: 26f54f61a7ee6dfa6acfe665b58c5212cc29aa7a (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0616]: field `len` of struct `sub::S` is private
  --> $DIR/issue-26472.rs:21:13
   |
LL |     let v = s.len;
   |             ^^^^^
   |
   = note: a method `len` also exists, perhaps you wish to call it

error: aborting due to previous error

For more information about this error, try `rustc --explain E0616`.