diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-03 22:29:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-03 22:29:26 +0200 |
| commit | 88e9417156629a2d2dd0d32ac107560572b26366 (patch) | |
| tree | 3f287a4018738c39ee097d6929b701989edc62a5 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 7b0360e516ffa5979b38958a274243294fb61700 (diff) | |
| parent | 78adc0139cda567c1f3633137e70bd4b23106f4e (diff) | |
| download | rust-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
