mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
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.