rust/compiler/rustc_hir_analysis/src/structured_errors
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
..
missing_cast_for_variadic_arg.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
sized_unsized_cast.rs migrate rustc_hir_analysis to session diagnostic 2023-03-05 00:01:55 +03:00
wrong_number_of_generic_args.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00