diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-07-10 15:19:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-10 15:19:32 +0200 |
| commit | 90ead986d5b025c1f74613c940fb5595430f94aa (patch) | |
| tree | e2b17950fb9c96d01763e41a9cb08a0c0c64da53 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 4b26882641a9250dba79552dc801993b86b0c21b (diff) | |
| parent | 3c7bf9fe01aacd7205c755cb898c94de68fcd1fd (diff) | |
| download | rust-90ead986d5b025c1f74613c940fb5595430f94aa.tar.gz rust-90ead986d5b025c1f74613c940fb5595430f94aa.zip | |
Rollup merge of #143666 - nilehmann:nested_bodies_in_consumers, r=lcnr
Re-expose nested bodies in rustc_borrowck::consumers After https://github.com/rust-lang/rust/pull/138499, it's not possible anymore to get borrowck information for nested bodies via `get_body_with_borrowck_facts`. This PR re-exposes nested bodies by returning a map containing the typeck root and all its nested bodies. To collect the bodies, a map is added to `BorrowCheckRootCtxt`, and a body is inserted every time `do_mir_borrowck` is called. r? ``@lcnr``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
