rust/clippy_lints/src/functions
zetanumbers fe37cc1d97 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
..
impl_trait_in_params.rs Merge commit 'edb720b199' into clippyup 2023-11-16 19:13:24 +01:00
misnamed_getters.rs Merge commit 'edb720b199' into clippyup 2023-11-16 19:13:24 +01:00
mod.rs Merge commit 'f0cdee4a3f' into clippy-subtree-sync 2023-12-01 18:21:58 +01:00
must_use.rs Merge commit '09ac14c901' into clippyup 2023-11-02 17:35:56 +01:00
not_unsafe_ptr_arg_deref.rs Merge commit '0f7558148c' into clippyup 2023-02-10 14:01:19 +01:00
result.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
too_many_arguments.rs Merge commit 'ac0e10aa68' into clippyup 2022-10-06 09:44:38 +02:00
too_many_lines.rs Merge commit 'd9c24d1b1e' into clippyup 2023-07-17 10:22:32 +02:00