about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-14 07:07:30 +0000
committerbors <bors@rust-lang.org>2024-09-14 07:07:30 +0000
commit583f358e940574f3de235b1c7bf90353c68a7f08 (patch)
tree3eb940125a277d2f3b0e6eaf9a84c1efed1cbf63 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent20862e4653ece8bad3a263431e602cbf25982e44 (diff)
parent94d49917ad3a88efffa3ad0e2d2dd95e1f866997 (diff)
downloadrust-583f358e940574f3de235b1c7bf90353c68a7f08.tar.gz
rust-583f358e940574f3de235b1c7bf90353c68a7f08.zip
Auto merge of #3885 - rust-lang:rustup-2024-09-14, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 3bf4d496408..e84ab0aa538 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -1041,7 +1041,7 @@ unsafe extern "C" {
     pub fn LLVMDisposeBuilder<'a>(Builder: &'a mut Builder<'a>);
 
     // Metadata
-    pub fn LLVMSetCurrentDebugLocation2<'a>(Builder: &Builder<'a>, Loc: &'a Metadata);
+    pub fn LLVMSetCurrentDebugLocation2<'a>(Builder: &Builder<'a>, Loc: *const Metadata);
 
     // Terminators
     pub fn LLVMBuildRetVoid<'a>(B: &Builder<'a>) -> &'a Value;