summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/private-field.stderr
blob: 0d73af03865f668a91451ac1d9624c65805c24e7 (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 field is: `val`

error: aborting due to 1 previous error

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