diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2025-01-18 01:56:22 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2025-01-18 01:56:22 +0000 |
| commit | bbcf26fc33afb4695014aff22fa77dcb7d9eb715 (patch) | |
| tree | 89fa7b0b3844f81b310ee203fa1f3ff445756e62 /tests/ui/structs/default-field-values/visibility.rs | |
| parent | 3e99055c4099f0ccb3e5ce5768c32af57d48c79b (diff) | |
| download | rust-bbcf26fc33afb4695014aff22fa77dcb7d9eb715.tar.gz rust-bbcf26fc33afb4695014aff22fa77dcb7d9eb715.zip | |
Add context on private fields that are not on the same line as the struct name
```
error[E0451]: field `x` of struct `S` is private
--> $DIR/visibility.rs:24:9
|
LL | let a = baz::S {
| ------ in this type
LL | ..
| ^^ field `x` is private
```
Diffstat (limited to 'tests/ui/structs/default-field-values/visibility.rs')
0 files changed, 0 insertions, 0 deletions
