summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/private-field.stderr
blob: c38c795e07ae84bcdcd37ab457fa1e035aa97fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0609]: no field `cap` on type `S`
  --> $DIR/private-field.rs:7:12
   |
LL |     dbg!(s.cap)
   |            ^^^ unknown field
   |
   = note: available fields are: `val`

error: aborting due to previous error

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