about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
authorzetanumbers <dariasukhonina@gmail.com>2023-12-01 05:28:34 -0800
committerzetanumbers <dariasukhonina@gmail.com>2023-12-12 06:40:29 -0800
commitfe37cc1d9783b5332dbbd22676c9702a818085ea (patch)
treef66bb6067c83a2a49fe6928a866ed811791855f6 /tests/rustdoc-js-std/osstring-to-string.js
parentc8213a49bb4508c95f29cd5689737c65ac786862 (diff)
downloadrust-fe37cc1d9783b5332dbbd22676c9702a818085ea.tar.gz
rust-fe37cc1d9783b5332dbbd22676c9702a818085ea.zip
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`
Diffstat (limited to 'tests/rustdoc-js-std/osstring-to-string.js')
0 files changed, 0 insertions, 0 deletions