Oli Scherer 31b88819c7 Remove dead code and extend test coverage and diagnostics around it
We lost the following comment during refactorings:

The current code for niche-filling relies on variant indices instead of actual discriminants, so enums with explicit discriminants (RFC 2363) would misbehave.
2025-07-24 10:21:20 +00:00
..
2025-07-03 10:05:16 +02:00
2025-07-20 11:56:45 +03:00
2025-07-20 11:56:45 +03:00
2025-07-20 11:56:45 +03:00
2025-06-23 00:50:22 +03:00
2025-07-20 11:56:45 +03:00
2025-06-23 00:50:22 +03:00
2025-07-15 17:41:08 +03:00
2025-06-23 00:50:22 +03:00
2025-06-23 00:50:22 +03:00
2025-06-23 00:50:22 +03:00
2025-06-23 00:50:22 +03:00
2025-07-09 21:43:20 +03:00
2025-06-23 00:50:22 +03:00
2025-06-23 00:50:22 +03:00
2025-06-23 00:50:22 +03:00
2025-07-20 11:56:45 +03:00
2025-07-03 10:05:16 +02:00
2025-06-23 00:50:22 +03:00