about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-03-21 09:47:32 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-04-01 13:41:57 +1100
commit4c551bcacd4b6d5652a6e9bc6fd5b7afbac435ae (patch)
tree0f28a890865f1eae7e9d0e43094d51a79aa93e87 /compiler/rustc_resolve/src
parent59307fd9fd17b46d0fa65c7e542d39dedd2dec66 (diff)
downloadrust-4c551bcacd4b6d5652a6e9bc6fd5b7afbac435ae.tar.gz
rust-4c551bcacd4b6d5652a6e9bc6fd5b7afbac435ae.zip
Simplify `ItemVisitorKind`.
Instead of putting the item inside it, just pass the ident and
visibility (the only things needed) alongside it where necessary.

This helps with the next commit, which will move the ident's location.
Specifically, it gets rid of the `match visitor_kind` in
`rewrite_type_alias`.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions