about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <eddyb@lyken.rs>2021-08-25 14:51:22 +0300
committerEduard-Mihai Burtescu <eddyb@lyken.rs>2021-08-27 13:09:32 +0300
commit83d986aa28619820e446279c5304a1ea2bd587e0 (patch)
tree3b06df0cb1a229f0e198f29c98f80b69b82b8edd /compiler/rustc_codegen_llvm/src/builder.rs
parentdfd6306d26af1a163aaaa1456b4594244ddd182f (diff)
downloadrust-83d986aa28619820e446279c5304a1ea2bd587e0.tar.gz
rust-83d986aa28619820e446279c5304a1ea2bd587e0.zip
rustc_target: add lifetime parameter to `LayoutOf`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/builder.rs b/compiler/rustc_codegen_llvm/src/builder.rs
index 13538683e05..47529f719b5 100644
--- a/compiler/rustc_codegen_llvm/src/builder.rs
+++ b/compiler/rustc_codegen_llvm/src/builder.rs
@@ -88,7 +88,7 @@ impl HasTargetSpec for Builder<'_, '_, 'tcx> {
     }
 }
 
-impl abi::LayoutOf for Builder<'_, '_, 'tcx> {
+impl abi::LayoutOf<'tcx> for Builder<'_, '_, 'tcx> {
     type Ty = Ty<'tcx>;
     type TyAndLayout = TyAndLayout<'tcx>;