File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -902,7 +902,11 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
902
902
let mut alloc = alloc. inner ( ) . adjust_from_tcx (
903
903
& this. tcx ,
904
904
|bytes, align| {
905
- interp_ok ( MiriAllocBytes :: from_bytes ( std:: borrow:: Cow :: Borrowed ( bytes) , align, ( ) ) )
905
+ interp_ok ( MiriAllocBytes :: from_bytes (
906
+ std:: borrow:: Cow :: Borrowed ( bytes) ,
907
+ align,
908
+ ( ) ,
909
+ ) )
906
910
} ,
907
911
|ptr| this. global_root_pointer ( ptr) ,
908
912
) ?;
Original file line number Diff line number Diff line change @@ -1805,7 +1805,9 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
1805
1805
}
1806
1806
1807
1807
/// Placeholder!
1808
- fn get_default_alloc_params ( & self ) -> <Self :: Bytes as AllocBytes >:: AllocParams { ( ) }
1808
+ fn get_default_alloc_params ( & self ) -> <Self :: Bytes as AllocBytes >:: AllocParams {
1809
+ ( )
1810
+ }
1809
1811
}
1810
1812
1811
1813
/// Trait for callbacks handling asynchronous machine operations.
You can’t perform that action at this time.
0 commit comments