Skip to content

Commit 4be2be2

Browse files
committed
Rustfmt
1 parent 7bf8636 commit 4be2be2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/intrinsics/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,10 @@ fn codegen_regular_intrinsic_call<'tcx>(
652652
// Use this error even for the other intrinsics as it is more precise.
653653
format!("attempted to instantiate uninhabited type `{}`", ty)
654654
} else if intrinsic == sym::assert_zero_valid {
655-
format!("attempted to zero-initialize type `{}`, which is invalid", ty)
655+
format!(
656+
"attempted to zero-initialize type `{}`, which is invalid",
657+
ty
658+
)
656659
} else {
657660
format!(
658661
"attempted to leave type `{}` uninitialized, which is invalid",

0 commit comments

Comments
 (0)