about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-08 08:19:20 +0100
committerGitHub <noreply@github.com>2024-03-08 08:19:20 +0100
commitd4d18d240b4c2f5c7b97a6eba05d686e003bf718 (patch)
treec24bf9798888669fbf91f1caf987621ad7fedfb4 /compiler/rustc_codegen_llvm/src
parentd16c55d6f608848231314151648b38b424f9297f (diff)
parent74d5bbbf94418d87def5acd89343b63d36ada5e0 (diff)
downloadrust-d4d18d240b4c2f5c7b97a6eba05d686e003bf718.tar.gz
rust-d4d18d240b4c2f5c7b97a6eba05d686e003bf718.zip
Rollup merge of #122103 - compiler-errors:taits-capture-everything, r=oli-obk
Make TAITs and ATPITs capture late-bound lifetimes in scope

This generalizes the behavior that RPITs have, where they duplicate their in-scope lifetimes so that they will always *reify* late-bound lifetimes that they capture. This allows TAITs and ATPITs to properly error when they capture in-scope late-bound lifetimes.

r? `@oli-obk` cc `@aliemjay`

Fixes #122093 and therefore https://github.com/rust-lang/rust/pull/120700#issuecomment-1981213868
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions