diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-03-21 09:47:32 +1100 | 
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-01 13:41:57 +1100 | 
| commit | 4c551bcacd4b6d5652a6e9bc6fd5b7afbac435ae (patch) | |
| tree | 0f28a890865f1eae7e9d0e43094d51a79aa93e87 /compiler/rustc_lint/src/builtin.rs | |
| parent | 59307fd9fd17b46d0fa65c7e542d39dedd2dec66 (diff) | |
| download | rust-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_lint/src/builtin.rs')
0 files changed, 0 insertions, 0 deletions
