Skip to content

Commit 1e72981

Browse files
committed
Rustup to rustc 1.69.0-nightly (9a7cc6c32 2023-02-16)
1 parent de7cefa commit 1e72981

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2023-02-14"
2+
channel = "nightly-2023-02-17"
33
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]

src/intrinsics/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -646,11 +646,11 @@ fn codegen_regular_intrinsic_call<'tcx>(
646646
sym::assert_inhabited => layout.abi.is_uninhabited(),
647647
sym::assert_zero_valid => !fx
648648
.tcx
649-
.permits_zero_init(fx.param_env().and(layout))
649+
.permits_zero_init(fx.param_env().and(ty))
650650
.expect("expected to have layout during codegen"),
651651
sym::assert_mem_uninitialized_valid => !fx
652652
.tcx
653-
.permits_uninit_init(fx.param_env().and(layout))
653+
.permits_uninit_init(fx.param_env().and(ty))
654654
.expect("expected to have layout during codegen"),
655655
_ => unreachable!(),
656656
};

0 commit comments

Comments
 (0)