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)
|
2023-11-09 00:01:10 -06:00
|
|
|
| ^^^ unknown field
|
2022-01-18 10:09:17 -06:00
|
|
|
|
|
2023-10-23 21:06:06 -05:00
|
|
|
= note: available field is: `val`
|
2022-01-18 10:09:17 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-01-18 10:09:17 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0609`.
|