Remove unnecessary Partial/Ord derive

This commit is contained in:
Oli Scherer 2024-03-21 12:33:11 +00:00
parent 10a7aa14fe
commit 2707ac9606

View File

@ -65,7 +65,7 @@ pub mod rustc {
use std::fmt::{self, Write};
/// A reference in the layout.
#[derive(Debug, Hash, Eq, PartialEq, PartialOrd, Ord, Clone, Copy)]
#[derive(Debug, Hash, Eq, PartialEq, Clone, Copy)]
pub struct Ref<'tcx> {
pub lifetime: ty::Region<'tcx>,
pub ty: Ty<'tcx>,