about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-08-28 18:05:16 +0000
committerbors <bors@rust-lang.org>2023-08-28 18:05:16 +0000
commit93dd62024113acb782812189d01e8e239da150e7 (patch)
tree6b5165d61e81d17a754ba5da1fb334a38315a3b8 /compiler/rustc_mir_transform/src
parent9f48a8544799c65a597302886d5143456fcb340f (diff)
parentf8e0dcbf5627d3e1a70a4d1d6bd1101d5b24f1e3 (diff)
downloadrust-93dd62024113acb782812189d01e8e239da150e7.tar.gz
rust-93dd62024113acb782812189d01e8e239da150e7.zip
Auto merge of #114489 - compiler-errors:rpitit-capture-all, r=oli-obk
Make RPITITs capture all in-scope lifetimes

Much like #114616, this implements the lang team decision from this T-lang meeting on [opaque captures strategy moving forward](https://hackmd.io/sFaSIMJOQcuwCdnUvCxtuQ?view). This will be RFC'd soon, but given that RPITITs are a nightly feature, this shouldn't necessarily be blocked on that.

We unconditionally capture all lifetimes in RPITITs -- impl is not as simple as #114616, since we still need to duplicate RPIT lifetimes to make sure we reify any late-bound lifetimes in scope.

Closes #112194
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions