mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Remove unnecessary Partial/Ord
derive
This commit is contained in:
parent
10a7aa14fe
commit
2707ac9606
@ -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>,
|
||||
|
Loading…
Reference in New Issue
Block a user