about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-07-31 07:09:57 +0000
committerbors <bors@rust-lang.org>2024-07-31 07:09:57 +0000
commit9fb03f0f21e700b5470787bf76a3cf9a154472ec (patch)
treec103e3119ed5436abb832d6bec63433d657c8e7a /compiler/rustc_codegen_gcc/src
parent51a0dd26776bb5a15556dc63fc069a7cfb6f47c1 (diff)
parent1b058b796d5b711a13ec6918ea5a96f7031c6a5f (diff)
downloadrust-9fb03f0f21e700b5470787bf76a3cf9a154472ec.tar.gz
rust-9fb03f0f21e700b5470787bf76a3cf9a154472ec.zip
Auto merge of #17747 - ShoyuVanilla:issue-17734, r=Veykril
fix: Errors on method call inferences with elided lifetimes

Fixes #17734

Currently, we are matching non-lifetime(type or const) generic arg to liftime argument position while building substs for method calling when there are elided lifetimes.
This mismatch just make a subst for error lifetime and while this alone is not much a trouble, it also makes the mismatched type or const generic arg cannot be used in its proper place and this makes type inference failure
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions