mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 04:37:45 +00:00
Constify Eq, Ord, PartialOrd Adds `#[const_trait]` and impls for `Eq`, `Ord`, `PartialOrd`. Impl for some other traits (e.g., slices and arrays) are blocked mainly on const closures (https://github.com/rust-lang/rust/issues/106003). For TypeId Ord we need const pointer comparison (https://github.com/rust-lang/rust/issues/53020) Tracking issue https://github.com/rust-lang/rust/issues/143800