]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_llvm/src/llvm/ffi.rs
Merge from rustc
[rust.git] / compiler / rustc_codegen_llvm / src / llvm / ffi.rs
index 6c78966a98d81d9f6e73c55f5a0d223bb8c6d47b..8b4861962b22947f0d9d1dd4fbeae5571eb4c50f 100644 (file)
@@ -2390,11 +2390,11 @@ pub fn LLVMRustWriteImportLibrary(
 
     pub fn LLVMRustSetDataLayoutFromTargetMachine<'a>(M: &'a Module, TM: &'a TargetMachine);
 
-    pub fn LLVMRustBuildOperandBundleDef<'a>(
+    pub fn LLVMRustBuildOperandBundleDef(
         Name: *const c_char,
-        Inputs: *const &'a Value,
+        Inputs: *const &'_ Value,
         NumInputs: c_uint,
-    ) -> &'a mut OperandBundleDef<'a>;
+    ) -> &mut OperandBundleDef<'_>;
     pub fn LLVMRustFreeOperandBundleDef<'a>(Bundle: &'a mut OperandBundleDef<'a>);
 
     pub fn LLVMRustPositionBuilderAtStart<'a>(B: &Builder<'a>, BB: &'a BasicBlock);