diff options
| author | LegionMammal978 <mattlloydhouse@gmail.com> | 2021-12-14 13:49:49 -0500 |
|---|---|---|
| committer | Matthew House <mattlloydhouse@gmail.com> | 2021-12-16 14:43:32 -0500 |
| commit | 4937a55dfb19e804c3c974e5341b70dcd76192d4 (patch) | |
| tree | 7c3ace1e7b7211357898ebccd166d199d5a45103 /compiler/rustc_codegen_llvm/src/callee.rs | |
| parent | 1d01550f7ea9fce1cf625128fefc73b9da3c1508 (diff) | |
| download | rust-4937a55dfb19e804c3c974e5341b70dcd76192d4.tar.gz rust-4937a55dfb19e804c3c974e5341b70dcd76192d4.zip | |
Remove `in_band_lifetimes` from `rustc_codegen_llvm`
See #91867 for more information.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/callee.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/callee.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/callee.rs b/compiler/rustc_codegen_llvm/src/callee.rs index 1bc924d3b90..ac423a22703 100644 --- a/compiler/rustc_codegen_llvm/src/callee.rs +++ b/compiler/rustc_codegen_llvm/src/callee.rs @@ -22,7 +22,7 @@ use rustc_middle::ty::{self, Instance, TypeFoldable}; /// /// - `cx`: the crate context /// - `instance`: the instance to be instantiated -pub fn get_fn(cx: &CodegenCx<'ll, 'tcx>, instance: Instance<'tcx>) -> &'ll Value { +pub fn get_fn<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>, instance: Instance<'tcx>) -> &'ll Value { let tcx = cx.tcx(); debug!("get_fn(instance={:?})", instance); |
