about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-04 12:18:01 +0100
committerGitHub <noreply@github.com>2022-11-04 12:18:01 +0100
commitd10187f0406c2bd94ac865b1ce99424aea0f579a (patch)
treed3ffb954a86243196c4864103b0ae8db13a5db21 /src/test/rustdoc-ui/coverage/enum-tuple.rs
parent428dd011cab8e6cca8f807e76105fd40d411e34b (diff)
parent2768c2fb257fccc692712d5f38d979f4a8f127dd (diff)
downloadrust-d10187f0406c2bd94ac865b1ce99424aea0f579a.tar.gz
rust-d10187f0406c2bd94ac865b1ce99424aea0f579a.zip
Rollup merge of #103780 - compiler-errors:bound-closure-lifetimes, r=jackh726
Fix late-bound lifetime closure ICEs in HIR typeck and MIR borrowck

During HIR typeck, we need to teach astconv to treat late-bound regions within a closure body as free, fixing escaping bound vars ICEs in both of the issues below.

However, this then gets us to MIR borrowck, which itself needs to be taught how to instantiate free region vids for late-bound regions that come from items that _aren't_ the typeck root (for now, just closures).

Fixes #103771
Fixes #103736
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions