rust/tests/ui/structs/default-field-values
Esteban Küber 27f079ae24 Disallow A { .. } if A has no fields
```
error: `A` has no fields, `..` needs at least one default field in the struct definition
  --> $DIR/empty-struct.rs:16:17
   |
LL |     let _ = A { .. };
   |             -   ^^
   |             |
   |             this type has no fields
```
2025-01-18 21:05:09 +00:00
..
auxiliary
empty-struct.rs Disallow A { .. } if A has no fields 2025-01-18 21:05:09 +00:00
empty-struct.stderr Disallow A { .. } if A has no fields 2025-01-18 21:05:09 +00:00
failures.rs
failures.stderr
invalid-const.rs
invalid-const.stderr
support.rs
use-normalized-ty-for-default-struct-value.rs