Skip to content

Commit 172404c

Browse files
committed
fmt
1 parent b324739 commit 172404c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/machine.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,7 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
908908
};
909909
let (shim_size, shim_align, _kind) = ecx.get_alloc_info(alloc_id);
910910
let def_ty = ecx.tcx.type_of(def_id).subst_identity();
911-
let extern_decl_layout =
912-
ecx.tcx.layout_of(ty::ParamEnv::empty().and(def_ty)).unwrap();
911+
let extern_decl_layout = ecx.tcx.layout_of(ty::ParamEnv::empty().and(def_ty)).unwrap();
913912
if extern_decl_layout.size != shim_size || extern_decl_layout.align.abi != shim_align {
914913
throw_unsup_format!(
915914
"`extern` static `{name}` from crate `{krate}` has been declared \

0 commit comments

Comments
 (0)