Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2707ac9

Browse files
committed
Remove unnecessary Partial/Ord derive
1 parent 10a7aa1 commit 2707ac9

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_transmute/src/layout

1 file changed

+1
-1
lines changed

compiler/rustc_transmute/src/layout/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub mod rustc {
6565
use std::fmt::{self, Write};
6666

6767
/// A reference in the layout.
68-
#[derive(Debug, Hash, Eq, PartialEq, PartialOrd, Ord, Clone, Copy)]
68+
#[derive(Debug, Hash, Eq, PartialEq, Clone, Copy)]
6969
pub struct Ref<'tcx> {
7070
pub lifetime: ty::Region<'tcx>,
7171
pub ty: Ty<'tcx>,

0 commit comments

Comments
 (0)