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> {
902902 let mut alloc = alloc. inner ( ) . adjust_from_tcx (
903903 & this. tcx ,
904904 |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+ ) )
906910 } ,
907911 |ptr| this. global_root_pointer ( ptr) ,
908912 ) ?;
Original file line number Diff line number Diff line change @@ -1805,7 +1805,9 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
18051805 }
18061806
18071807 /// 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+ }
18091811}
18101812
18111813/// Trait for callbacks handling asynchronous machine operations.
You can’t perform that action at this time.
0 commit comments