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
..
2024-12-14 18:05:19 +00:00
2025-01-18 21:05:09 +00:00
2024-12-20 17:18:54 +00:00
2024-12-20 17:18:54 +00:00
2024-08-05 17:56:50 -07:00
2024-08-05 17:56:50 -07:00
2025-01-14 01:22:04 +01:00
2025-01-14 01:22:04 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-11-26 02:50:48 +08:00
2024-12-25 23:25:45 +00:00
2024-12-31 18:06:01 +00:00
2023-11-10 13:00:27 -08:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-12 03:02:57 +00:00
2024-10-24 03:17:28 -04:00
2024-07-12 03:02:57 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2023-11-24 19:15:52 +01:00
2024-10-24 03:17:28 -04:00
2023-11-24 19:15:52 +01:00
2024-07-22 22:51:53 +00:00
2023-11-16 16:19:19 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-10-24 03:17:28 -04:00
2024-02-16 20:02:50 +00:00
2024-07-22 22:51:53 +00:00
2024-02-16 20:02:50 +00:00
2023-11-18 00:40:11 +00:00
2024-10-24 03:17:28 -04:00
2023-11-24 19:15:52 +01:00