File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/rustc_codegen_ssa/src/traits Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ use crate::back::write::TargetMachineFactoryFn;
2121use crate :: { CodegenResults , ModuleCodegen , TargetConfig } ;
2222
2323pub trait BackendTypes {
24- type Value : CodegenObject ;
24+ type Value : CodegenObject + PartialEq ;
2525 type Metadata : CodegenObject ;
2626 type Function : CodegenObject ;
2727
2828 type BasicBlock : Copy ;
29- type Type : CodegenObject ;
29+ type Type : CodegenObject + PartialEq ;
3030 type Funclet ;
3131
3232 // FIXME(eddyb) find a common convention for all of the debuginfo-related
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ pub use self::type_::{
5050} ;
5151pub use self :: write:: { ModuleBufferMethods , ThinBufferMethods , WriteBackendMethods } ;
5252
53- pub trait CodegenObject = Copy + PartialEq + fmt: : Debug ;
53+ pub trait CodegenObject = Copy + fmt: : Debug ;
5454
5555pub trait CodegenMethods < ' tcx > = LayoutOf < ' tcx , LayoutOfResult = TyAndLayout < ' tcx > >
5656 + FnAbiOf < ' tcx , FnAbiOfResult = & ' tcx FnAbi < ' tcx , Ty < ' tcx > > >
You can’t perform that action at this time.
0 commit comments