rust/compiler
Dylan DPC 5a288dc112
Rollup merge of #103864 - smoelius:reorder-walk-functions, r=fee1-dead
Reorder `walk_` functions in intravisit.rs

Reorder the `walk_` functions to match the order of the `visit_` methods. This is a follow up to https://github.com/rust-lang/rust/pull/103692.

Note that there are some oddballs. I put them where I thought made the most sense:
```diff
$ diff \
<(sed -n 's/^.*\<fn visit_\([^(]*\).*$/\1/;T;p' compiler/rustc_hir/src/intravisit.rs) \
<(sed -n 's/^.*\<fn walk_\([^<]*\).*$/\1/;T;p' compiler/rustc_hir/src/intravisit.rs)
1,5d0
< nested_item
< nested_trait_item
< nested_impl_item
< nested_foreign_item
< nested_body
9,10d3
< id
< name
20c13
< array_length
---
> array_len
30a24
> fn_ret_ty
31a26
> fn_kind
41c36
< variant_data
---
> struct_def
46c41
< infer
---
> inf
54d48
< attribute
```

Also, as some weak evidence that i did things correctly, I get the following before and after the change:
```sh
$ sort compiler/rustc_hir/src/intravisit.rs | openssl sha256
SHA256(stdin)= cac13d2545731ef442f318e2b4286490d7ac5494f4ad10c4cf4c5d4f50d21641
```

r? `@fee1-dead`
2022-11-02 22:32:06 +05:30
..
rustc
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_borrowck Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_builtin_macros Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
rustc_codegen_cranelift Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
rustc_codegen_gcc Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
rustc_codegen_llvm Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
rustc_codegen_ssa Rollup merge of #103638 - ia0:multivalue, r=nagisa 2022-11-01 20:00:39 -04:00
rustc_const_eval Format dyn Trait better in type_name intrinsic 2022-11-01 20:41:47 +00:00
rustc_data_structures
rustc_driver Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_error_codes
rustc_error_messages Rollup merge of #103061 - Amanieu:rewrite_alloc_error_handler, r=bjorn3 2022-11-01 14:12:25 +05:30
rustc_errors Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_expand Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_feature Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Reorder walk_ functions in intravisit.rs 2022-11-01 19:02:45 -04:00
rustc_hir_analysis Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_hir_pretty
rustc_hir_typeck Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_incremental
rustc_index
rustc_infer Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_interface Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_lexer
rustc_lint Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_metadata Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_middle Format dyn Trait better in type_name intrinsic 2022-11-01 20:41:47 +00:00
rustc_mir_build Rollup merge of #103584 - ouz-a:issue-102303, r=oli-obk 2022-11-01 14:12:25 +05:30
rustc_mir_dataflow
rustc_mir_transform
rustc_monomorphize Auto merge of #103217 - mejrs:track, r=eholk 2022-11-01 21:09:45 +00:00
rustc_parse Rollup merge of #103703 - Nilstrieb:flag-recovery-1, r=compiler-errors 2022-11-02 22:32:03 +05:30
rustc_parse_format
rustc_passes Rollup merge of #103575 - Xiretza:suggestions-style-attr, r=davidtwco 2022-11-01 20:00:38 -04:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve Rollup merge of #103760 - petrochenkov:macimp, r=cjgillot 2022-11-01 22:01:36 +05:30
rustc_save_analysis
rustc_serialize
rustc_session Rollup merge of #103839 - Nilstrieb:print-list, r=compiler-errors 2022-11-01 20:00:40 -04:00
rustc_smir
rustc_span
rustc_symbol_mangling
rustc_target
rustc_trait_selection Rollup merge of #103862 - compiler-errors:ocx-in-fully-normalize, r=spastorino 2022-11-02 22:32:05 +05:30
rustc_traits
rustc_transmute
rustc_ty_utils
rustc_type_ir