about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/upvars.rs
AgeCommit message (Collapse)AuthorLines
2025-07-28use let chains in mir, resolve, targetKivooeo-13/+13
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-1/+1
Continuing the work started in #136466. Every method gains a `hir_` prefix, though for the ones that already have a `par_` or `try_par_` prefix I added the `hir_` after that.
2024-08-29Add `warn(unreachable_pub)` to `rustc_passes`.Nicholas Nethercote-1/+1
2024-05-29Make `body_owned_by` return the body directly.Oli Scherer-3/+3
Almost all callers want this anyway, and now we can use it to also return fed bodies
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-1/+1
Because they're a bit redundant.
2024-02-11is_closure_likeMichael Goulet-1/+1
2023-12-30is_coroutine -> is_coroutine_or_closureMichael Goulet-1/+1
2023-05-15Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker-1/+1
2022-12-01rustc_hir: Relax lifetime requirements on `Visitor::visit_path`Vadim Petrochenkov-1/+1
2022-11-13Store LocalDefId in hir::Closure.Camille GILLOT-3/+2
2022-07-29Rename local_did to def_idMiguel Guarniz-2/+2
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-2/+2
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-1/+1
2022-01-16Replace NestedVisitorMap with NestedFilterCameron Steffen-13/+1
2021-12-15Remove `in_band_lifetimes` for `rustc_passes`Peter Jaszkowiak-2/+2
2020-08-30mv compiler to compiler/mark-0/+109