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;
21
21
use crate :: { CodegenResults , ModuleCodegen , TargetConfig } ;
22
22
23
23
pub trait BackendTypes {
24
- type Value : CodegenObject ;
24
+ type Value : CodegenObject + PartialEq ;
25
25
type Metadata : CodegenObject ;
26
26
type Function : CodegenObject ;
27
27
28
28
type BasicBlock : Copy ;
29
- type Type : CodegenObject ;
29
+ type Type : CodegenObject + PartialEq ;
30
30
type Funclet ;
31
31
32
32
// 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_::{
50
50
} ;
51
51
pub use self :: write:: { ModuleBufferMethods , ThinBufferMethods , WriteBackendMethods } ;
52
52
53
- pub trait CodegenObject = Copy + PartialEq + fmt: : Debug ;
53
+ pub trait CodegenObject = Copy + fmt: : Debug ;
54
54
55
55
pub trait CodegenMethods < ' tcx > = LayoutOf < ' tcx , LayoutOfResult = TyAndLayout < ' tcx > >
56
56
+ FnAbiOf < ' tcx , FnAbiOfResult = & ' tcx FnAbi < ' tcx , Ty < ' tcx > > >
You can’t perform that action at this time.
0 commit comments