2022-01-18 17:09:17 +01:00
|
|
|
error[E0609]: no field `cap` on type `S`
|
|
|
|
--> $DIR/private-field.rs:7:12
|
|
|
|
|
|
|
|
|
LL | dbg!(s.cap)
|
2023-11-09 06:01:10 +00:00
|
|
|
| ^^^ unknown field
|
2022-01-18 17:09:17 +01:00
|
|
|
|
|
2023-10-24 02:06:06 +00:00
|
|
|
= note: available field is: `val`
|
2022-01-18 17:09:17 +01:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-01-18 17:09:17 +01:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0609`.
|