about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-26 06:40:36 +0000
committerbors <bors@rust-lang.org>2024-07-26 06:40:36 +0000
commitf98fdfc8a449bf535602b971e8eb12fd282de305 (patch)
treef1616040f0575679c5a75a89c75ae074a1b3688f /compiler/rustc_codegen_llvm/src/debuginfo/utils.rs
parent35e70f3e7ec31d5c8bb07f80c62559425a81979c (diff)
parent4bd2757b4ccf6c4fed986bae9593782112aecd80 (diff)
downloadrust-f98fdfc8a449bf535602b971e8eb12fd282de305.tar.gz
rust-f98fdfc8a449bf535602b971e8eb12fd282de305.zip
Auto merge of #3765 - rust-lang:rustup-2024-07-26, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo/utils.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/debuginfo/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs b/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs
index 155e7a89fd8..9bd2ccceadf 100644
--- a/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs
+++ b/compiler/rustc_codegen_llvm/src/debuginfo/utils.rs
@@ -81,7 +81,7 @@ pub(crate) fn fat_pointer_kind<'ll, 'tcx>(
         ty::Dynamic(..) => Some(FatPtrKind::Dyn),
         ty::Foreign(_) => {
             // Assert that pointers to foreign types really are thin:
-            debug_assert_eq!(
+            assert_eq!(
                 cx.size_of(Ty::new_imm_ptr(cx.tcx, pointee_tail_ty)),
                 cx.size_of(Ty::new_imm_ptr(cx.tcx, cx.tcx.types.u8))
             );