]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #97236 - cjgillot:recover-lifetime-res, r=jackh726
authorYuki Okushi <jtitor@2k36.org>
Sun, 22 May 2022 02:53:07 +0000 (11:53 +0900)
committerGitHub <noreply@github.com>
Sun, 22 May 2022 02:53:07 +0000 (11:53 +0900)
commit6ef4911b994a84591136d34185d3c17f2960a4df
tree389bdb2978d957a7ec3f9e82ae3771adbbd36a83
parentc7c5980e900bb8321a33f86b0bf70b5280780c98
parent075429f76b51b7dcc1875319412d1290fe263976
Rollup merge of #97236 - cjgillot:recover-lifetime-res, r=jackh726

Recover when resolution did not resolve lifetimes.

This can happen for items inside a foreign fn's body, which are not visited at all.

Fixes https://github.com/rust-lang/rust/issues/97193
Fixes https://github.com/rust-lang/rust/issues/97194
compiler/rustc_ast_lowering/src/lib.rs