about summary refs log tree commit diff
path: root/tests/ui/structs/default-field-values/empty-struct.stderr
AgeCommit message (Collapse)AuthorLines
2025-01-18Disallow `A { .. }` if `A` has no fieldsEsteban Küber-0/+26
``` 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 ```