rust/compiler/rustc_borrowck
bors 22e491ac7e Auto merge of #89861 - nbdd0121:closure, r=wesleywiser
Closure capture cleanup & refactor

Follow up of #89648

Each commit is self-contained and the rationale/changes are documented in the commit message, so it's advisable to review commit by commit.

The code is significantly cleaner (at least IMO), but that could have some perf implication, so I'd suggest a perf run.

r? `@wesleywiser`
cc `@arora-aman`
2022-01-13 18:51:07 +00:00
..
src Auto merge of #89861 - nbdd0121:closure, r=wesleywiser 2022-01-13 18:51:07 +00:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00