rust/tests/ui/suggestions/private-field.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
286 B
Plaintext
Raw Normal View History

2022-01-18 10:09:17 -06:00
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`.