rust/compiler
Guillaume Gomez 539c435b50
Rollup merge of #80646 - bugadani:meta, r=petrochenkov
Clean up in `each_child_of_item`

This PR hopes to eliminate some of the surprising elements I encountered while reading the function.
- `macros_only` is checked against inside the loop body, but if it is `true`, the loop is skipped anyway
- only query `span` when relevant
- no need to allocate attribute vector
2021-01-03 17:09:13 +01:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_ast_lowering first pass at default values for const generics 2021-01-01 10:55:10 +01:00
rustc_ast_passes reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_ast_pretty const_generics_defaults: don't use todo 2021-01-01 22:35:56 +01:00
rustc_attr
rustc_builtin_macros reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_codegen_cranelift
rustc_codegen_llvm Rollup merge of #80323 - camelid:codegen-base-docs, r=nagisa 2020-12-31 22:20:43 +01:00
rustc_codegen_ssa Merge remote-tracking branch 'origin/master' into frewsxcv-san 2020-12-31 23:27:33 -05:00
rustc_data_structures rustc_serialize: have read_raw_bytes take MaybeUninit<u8> slice 2021-01-01 22:49:16 -08:00
rustc_driver where possible, pass slices instead of &Vec or &String (clippy::ptr_arg) 2020-12-30 13:11:52 +01:00
rustc_error_codes Auto merge of #80267 - 0urobor0s:ouro/61592, r=jyn514 2020-12-31 09:07:52 +00:00
rustc_errors
rustc_expand Auto merge of #80459 - mark-i-m:or-pat-reg, r=petrochenkov 2020-12-31 14:52:26 +00:00
rustc_feature mark const_generics_defaults as an incomplete feature 2021-01-01 10:55:16 +01:00
rustc_fs_util
rustc_graphviz
rustc_hir reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_hir_pretty reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_incremental reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_index
rustc_infer reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_interface Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
rustc_lexer
rustc_lint Rollup merge of #80628 - matthiaskrgr:match_ref_pats, r=varkor 2021-01-03 17:09:11 +01:00
rustc_lint_defs improve unconditional_panic description 2021-01-01 15:00:27 +01:00
rustc_llvm
rustc_macros rustc_serialize: specialize opaque encoding of some u8 sequences 2021-01-01 22:49:14 -08:00
rustc_metadata Rollup merge of #80646 - bugadani:meta, r=petrochenkov 2021-01-03 17:09:13 +01:00
rustc_middle reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_mir reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_mir_build Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_parse make const_generics_defaults use the unstable syntax mechanism 2021-01-01 11:01:01 +01:00
rustc_parse_format
rustc_passes reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_plugin_impl
rustc_privacy Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
rustc_query_system
rustc_resolve adjust const generics defaults FIXMEs to the new feature gate 2021-01-01 11:01:01 +01:00
rustc_save_analysis reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_serialize rustc_serialize: specialize opaque decoding of some u8 sequences 2021-01-01 22:49:16 -08:00
rustc_session Auto merge of #79883 - frewsxcv:frewsxcv-san, r=shepmaster 2021-01-02 06:58:59 +00:00
rustc_span first pass at default values for const generics 2021-01-01 10:55:10 +01:00
rustc_symbol_mangling
rustc_target
rustc_trait_selection reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00
rustc_traits
rustc_ty_utils
rustc_type_ir
rustc_typeck reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats) 2021-01-02 20:09:17 +01:00