rust/compiler/rustc_const_eval/src/const_eval
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
..
error.rs compile-time evaluation: emit a lint when a write through an immutable pointer occurs 2023-12-07 17:46:36 +01:00
eval_queries.rs compile-time evaluation: emit a lint when a write through an immutable pointer occurs 2023-12-07 17:46:36 +01:00
fn_queries.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
machine.rs avoid marking as immutable what is already immutable 2023-12-07 17:46:48 +01:00
mod.rs Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb 2023-11-03 14:57:40 +00:00
valtrees.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00