rust/clippy_lints
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
..
src Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
Cargo.toml Update itertools to 0.11. 2023-11-22 08:13:21 +11:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.