We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf8636 commit 4be2be2Copy full SHA for 4be2be2
src/intrinsics/mod.rs
@@ -652,7 +652,10 @@ fn codegen_regular_intrinsic_call<'tcx>(
652
// Use this error even for the other intrinsics as it is more precise.
653
format!("attempted to instantiate uninhabited type `{}`", ty)
654
} else if intrinsic == sym::assert_zero_valid {
655
- format!("attempted to zero-initialize type `{}`, which is invalid", ty)
+ format!(
656
+ "attempted to zero-initialize type `{}`, which is invalid",
657
+ ty
658
+ )
659
} else {
660
format!(
661
"attempted to leave type `{}` uninitialized, which is invalid",
0 commit comments