mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
e44a7386c2
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.