rust/compiler
bors 72e74d7b9c Auto merge of #92533 - Aaron1011:variant-symbol, r=petrochenkov
Store a `Symbol` instead of an `Ident` in `VariantDef`/`FieldDef`

The field is also renamed from `ident` to `name`. In most cases,
we don't actually need the `Span`. A new `ident` method is added
to `VariantDef` and `FieldDef`, which constructs the full `Ident`
using `tcx.def_ident_span()`. This method is used in the cases
where we actually need an `Ident`.

This makes incremental compilation properly track changes
to the `Span`, without all of the invalidations caused by storing
a `Span` directly via an `Ident`.
2022-01-11 21:02:01 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #92357 - GuillaumeGomez:fix-doc-comment-backline-removal, r=camelid 2022-01-10 11:03:05 +01:00
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty Rollup merge of #92336 - dtolnay:printstateself, r=michaelwoerister 2022-01-07 20:20:56 -08:00
rustc_attr
rustc_borrowck Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_builtin_macros
rustc_codegen_cranelift Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_codegen_gcc Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_codegen_llvm Auto merge of #92533 - Aaron1011:variant-symbol, r=petrochenkov 2022-01-11 21:02:01 +00:00
rustc_codegen_ssa Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_const_eval Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_data_structures Auto merge of #92070 - rukai:replace_vec_into_iter_with_array_into_iter, r=Mark-Simulacrum 2022-01-11 14:23:24 +00:00
rustc_driver
rustc_error_codes
rustc_errors Auto merge of #92070 - rukai:replace_vec_into_iter_with_array_into_iter, r=Mark-Simulacrum 2022-01-11 14:23:24 +00:00
rustc_expand Auto merge of #92070 - rukai:replace_vec_into_iter_with_array_into_iter, r=Mark-Simulacrum 2022-01-11 14:23:24 +00:00
rustc_feature
rustc_fs_util
rustc_graphviz eplace usages of vec![].into_iter with [].into_iter 2022-01-09 14:09:25 +11:00
rustc_hir Rollup merge of #92702 - ehuss:clean-lang_items-extract, r=petrochenkov 2022-01-10 11:03:11 +01:00
rustc_hir_pretty
rustc_incremental eplace usages of vec![].into_iter with [].into_iter 2022-01-09 14:09:25 +11:00
rustc_index
rustc_infer Auto merge of #92533 - Aaron1011:variant-symbol, r=petrochenkov 2022-01-11 21:02:01 +00:00
rustc_interface
rustc_lexer
rustc_lint Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_middle Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_mir_build Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_mir_dataflow Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_mir_transform Rollup merge of #92636 - compiler-errors:normalize-generator-const-expr, r=oli-obk 2022-01-10 11:03:07 +01:00
rustc_monomorphize Add query to avoid name comparison in leaf_def 2022-01-07 13:31:36 -08:00
rustc_parse eplace usages of vec![].into_iter with [].into_iter 2022-01-09 14:09:25 +11:00
rustc_parse_format
rustc_passes Clean up lang_items::extract 2022-01-09 13:41:04 -08:00
rustc_plugin_impl
rustc_privacy Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
rustc_query_impl
rustc_query_system Auto merge of #92278 - Aaron1011:fix-fingerprint-caching, r=michaelwoerister 2022-01-10 00:26:07 +00:00
rustc_resolve Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
rustc_save_analysis
rustc_serialize
rustc_session
rustc_span Auto merge of #92012 - llogiq:repr-c-def-id, r=michaelwoerister 2022-01-11 08:09:00 +00:00
rustc_symbol_mangling
rustc_target eplace usages of vec![].into_iter with [].into_iter 2022-01-09 14:09:25 +11:00
rustc_trait_selection Auto merge of #92070 - rukai:replace_vec_into_iter_with_array_into_iter, r=Mark-Simulacrum 2022-01-11 14:23:24 +00:00
rustc_traits
rustc_ty_utils Add query to avoid name comparison in leaf_def 2022-01-07 13:31:36 -08:00
rustc_type_ir
rustc_typeck Auto merge of #92533 - Aaron1011:variant-symbol, r=petrochenkov 2022-01-11 21:02:01 +00:00