mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 15:46:52 +00:00
This allows const propagation to evaluate comparisons involving field-less enums using derived implementations of `PartialEq` (after inlining `eq`).
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.