rust/compiler/rustc_incremental/src/persist
zetanumbers 24f009c5e5 Move some methods from tcx.hir() to tcx
Renamings:
- find -> opt_hir_node
- get -> hir_node
- find_by_def_id -> opt_hir_node_by_def_id
- get_by_def_id -> hir_node_by_def_id

Fix rebase changes using removed methods

Use `tcx.hir_node_by_def_id()` whenever possible in compiler

Fix clippy errors

Fix compiler

Apply suggestions from code review

Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>

Add FIXME for `tcx.hir()` returned type about its removal

Simplify with with `tcx.hir_node_by_def_id`
2023-12-12 06:40:29 -08:00
..
fs Removed stable/unstable sort arg from into_sorted_stable_ord, fixed a few misc issues, added collect to UnordItems 2023-06-08 00:38:50 -04:00
data.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
dirty_clean.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
file_format.rs Call FileEncoder::finish in rmeta encoding 2023-11-22 22:49:22 -05:00
fs.rs Rename HandlerInner::delayed_span_bugs as HandlerInner::span_delayed_bugs. 2023-12-02 09:01:34 +11:00
load.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
mod.rs Reduce exposure of three functions used only within rustc_incremental. 2023-10-26 08:46:10 +11:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
save.rs Rename HandlerInner::delayed_span_bugs as HandlerInner::span_delayed_bugs. 2023-12-02 09:01:34 +11:00
work_product.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00

For info on how the incremental compilation works, see the rustc dev guide.