diff options
| author | bors <bors@rust-lang.org> | 2025-07-10 07:04:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-10 07:04:03 +0000 |
| commit | cf3fb768db439825e3c8d327f6d9f46e02965668 (patch) | |
| tree | b09e1cb35495a6364e1b302e4d93d401b3f35453 /compiler/rustc_codegen_ssa/src | |
| parent | 32cd9114712a24010b0583624dc52ac302194128 (diff) | |
| parent | 51084719cddaf35bbe82c3d9bab444fdb498c936 (diff) | |
| download | rust-cf3fb768db439825e3c8d327f6d9f46e02965668.tar.gz rust-cf3fb768db439825e3c8d327f6d9f46e02965668.zip | |
Auto merge of #143696 - oli-obk:constable-type-id2, r=RalfJung
Add opaque TypeId handles for CTFE Reopen of https://github.com/rust-lang/rust/pull/142789#issuecomment-3053155043 after some bors insta-merge chaos r? `@RalfJung`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/mir/operand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/operand.rs b/compiler/rustc_codegen_ssa/src/mir/operand.rs index e5b95e5ecc5..bc83e41b278 100644 --- a/compiler/rustc_codegen_ssa/src/mir/operand.rs +++ b/compiler/rustc_codegen_ssa/src/mir/operand.rs @@ -186,7 +186,7 @@ impl<'a, 'tcx, V: CodegenObject> OperandRef<'tcx, V> { offset: Size, ) -> Self { let alloc_align = alloc.inner().align; - assert!(alloc_align >= layout.align.abi); + assert!(alloc_align >= layout.align.abi, "{alloc_align:?} < {:?}", layout.align.abi); let read_scalar = |start, size, s: abi::Scalar, ty| { match alloc.0.read_scalar( |
