Michael Goulet
c567eddec2
Add CoroutineClosure to TyKind, AggregateKind, UpvarArgs
2024-02-06 02:22:58 +00:00
Mark Rousskov
d920dd8d38
Remove Upvar duplication
...
This cuts out an extra allocation and copying over from the already
cached closure capture information.
2023-11-26 13:19:10 -05:00
Oli Scherer
e96ce20b34
s/generator/coroutine/
2023-10-20 21:14:01 +00:00
Camille GILLOT
372366d686
Only consider places with the same local in each_borrow_involving_path.
2023-06-27 17:57:10 +00:00
Scott McMurray
5bbaeadc01
Move mir::Field → abi::FieldIdx
...
The first PR for https://github.com/rust-lang/compiler-team/issues/606
This is just the move-and-rename, because it's plenty big-and-bitrotty already. Future PRs will start using `FieldIdx` more broadly, and concomitantly removing `FieldIdx::new`s.
2023-03-28 22:22:37 -07:00
AndyJado
e636af7dfd
lint auto pass
...
Revert "lint auto pass"
This reverts commit e58e4466384924c491a932d3f18ef50ffa5a5065.
2022-11-09 20:42:16 +08:00
Dániel Buga
e837101890
Remove in_band_lifetimes from borrowck
2021-12-15 08:39:21 +01:00
Camille GILLOT
31a61ccc38
Move rustc_mir::borrow_check to new crate rustc_borrowck.
2021-09-07 00:29:22 +02:00