File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -636,7 +636,8 @@ pub fn const_eval_raw_provider<'tcx>(
636
636
tcx. at ( span) ,
637
637
key. param_env ,
638
638
CompileTimeInterpreter :: new ( ) ,
639
- Default :: default ( ) ) ;
639
+ Default :: default ( )
640
+ ) ;
640
641
641
642
let res = ecx. load_mir ( cid. instance . def ) ;
642
643
res. map ( |body| {
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
73
73
/// Extra data stored in memory. A reference to this is available when `AllocExtra`
74
74
/// gets initialized, so you can e.g., have an `Rc` here if there is global state you
75
75
/// need access to in the `AllocExtra` hooks.
76
- type MemoryExtra : Default ;
76
+ type MemoryExtra ;
77
77
78
78
/// Extra data stored in every allocation.
79
79
type AllocExtra : AllocationExtra < Self :: PointerTag > + ' static ;
You can’t perform that action at this time.
0 commit comments