mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
dd8b2d6162
Implement fast path for `derive(PartialOrd)` when deriving `Ord` Closes: https://github.com/rust-lang/rust/issues/155537 Unfortunately, this PR shares the same issue with https://github.com/rust-lang/rust/issues/124794, which doesn't work when `derive(PartialOrd)` is before `derive(Ord)`.