about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-03 22:29:26 +0200
committerGitHub <noreply@github.com>2022-08-03 22:29:26 +0200
commit88e9417156629a2d2dd0d32ac107560572b26366 (patch)
tree3f287a4018738c39ee097d6929b701989edc62a5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent7b0360e516ffa5979b38958a274243294fb61700 (diff)
parent78adc0139cda567c1f3633137e70bd4b23106f4e (diff)
downloadrust-88e9417156629a2d2dd0d32ac107560572b26366.tar.gz
rust-88e9417156629a2d2dd0d32ac107560572b26366.zip
Rollup merge of #98835 - aliemjay:relate_closure_substs, r=nikomatsakis
relate `closure_substs.parent_substs()` to parent fn in NLL

Fixes #98589

The discrepancy between early- and late-bound lifetimes is because we map early-bound lifetimes into those found in the `closure_substs` while late-bound lifetimes are mapped into liberated free regions:
https://github.com/rust-lang/rust/blob/5f98537eb7b5f42c246a52c550813c3cff336069/compiler/rustc_borrowck/src/universal_regions.rs#L255-L261

r? `@rust-lang/types`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions