]> git.lizzy.rs Git - rust.git/commit
Remove `PartialOrd`/`Ord` impl for `PlaceRef`
authorAaron Hill <aa1ronham@gmail.com>
Tue, 10 May 2022 02:48:43 +0000 (22:48 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Wed, 11 May 2022 20:22:23 +0000 (16:22 -0400)
commit6b747aa397c7ed95f8ee53195ada25f8d9ee953d
treec6aa2b6a90c926b20c17402d4641f2461bfb8940
parent08b4f1be33607fc4f18ce19cfd475ac9f43213fc
Remove `PartialOrd`/`Ord` impl for `PlaceRef`

This is a new attempt at #93315. It removes one usage
of the `Ord` impl for `DefId`, which should make it easier
to eventually remove that impl.
compiler/rustc_const_eval/src/transform/validate.rs
compiler/rustc_middle/src/lib.rs
compiler/rustc_middle/src/mir/mod.rs
compiler/rustc_mir_build/src/build/matches/mod.rs