rust/compiler
bors 559c01931b Auto merge of #95435 - cjgillot:one-name, r=oli-obk
Make def names and HIR names consistent.

The name in the `DefKey` is interned to create the `DefId`, so it does not
require any query to access.  This can be leveraged to avoid a few useless
HIR accesses for names.

~In order to achieve that, generic parameters created from universal
impl-trait are given the pretty-printed ast as a name, instead of
`{{opaque}}`.~

~Drive-by: the `TyCtxt::opt_item_name` used a dummy span for non-local
definitions.  We have access to `def_ident_span`, so we use it.~
2022-04-09 22:48:00 +00:00
..
rustc
rustc_apfloat Addressed comments by @compiler-errors and @bjorn3 2022-03-30 17:04:46 -04:00
rustc_arena mark FIXMES for all the places found that are probably offset_from 2022-03-29 20:18:28 -04:00
rustc_ast Fix invalid array access in beautify_doc_string 2022-04-08 15:30:37 +02:00
rustc_ast_lowering diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
rustc_ast_passes Stabilize native library modifier syntax and the whole-archive modifier specifically 2022-03-30 23:53:21 +03:00
rustc_ast_pretty
rustc_attr
rustc_borrowck use format-args-capture and remove unnecessary nested blocks 2022-04-09 00:01:40 +09:00
rustc_builtin_macros Auto merge of #95697 - klensy:no-strings, r=petrochenkov 2022-04-09 13:15:26 +00:00
rustc_codegen_cranelift check_doc_keyword: don't alloc string for emptiness check 2022-04-08 11:45:57 +03:00
rustc_codegen_gcc Use WrappingRange::full instead of hand-rolling it 2022-04-05 13:18:22 +00:00
rustc_codegen_llvm Use WrappingRange::full instead of hand-rolling it 2022-04-05 13:18:22 +00:00
rustc_codegen_ssa check_doc_keyword: don't alloc string for emptiness check 2022-04-08 11:45:57 +03:00
rustc_const_eval interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal 2022-04-07 16:24:48 -04:00
rustc_data_structures Auto merge of #95524 - oli-obk:cached_stable_hash_cleanups, r=nnethercote 2022-04-09 02:31:24 +00:00
rustc_driver session: opt for enabling directionality markers 2022-04-05 07:01:03 +01:00
rustc_error_codes rework error messages for incorrect inherent impls 2022-03-30 11:23:58 +02:00
rustc_error_messages errors: support fluent + parallel compiler 2022-04-05 07:01:03 +01:00
rustc_errors session: opt for enabling directionality markers 2022-04-05 07:01:03 +01:00
rustc_expand Rollup merge of #95808 - petrochenkov:fragspec, r=nnethercote 2022-04-09 18:26:28 +02:00
rustc_feature Split fuzzy_provenance_casts into lossy and fuzzy, feature gate and test it 2022-04-08 17:41:28 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Use def_key in tcx.item_name when possible. 2022-04-09 10:54:43 +02:00
rustc_hir_pretty
rustc_incremental check_doc_keyword: don't alloc string for emptiness check 2022-04-08 11:45:57 +03:00
rustc_index Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
rustc_infer Auto merge of #95524 - oli-obk:cached_stable_hash_cleanups, r=nnethercote 2022-04-09 02:31:24 +00:00
rustc_interface expand: Remove ParseSess::missing_fragment_specifiers 2022-04-09 15:44:19 +03:00
rustc_lexer
rustc_lint Auto merge of #94527 - oli-obk:undef_scalars, r=nagisa,erikdesjardin 2022-04-05 16:46:13 +00:00
rustc_lint_defs Split fuzzy_provenance_casts into lossy and fuzzy, feature gate and test it 2022-04-08 17:41:28 +02:00
rustc_llvm trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
rustc_log
rustc_macros macros: support translatable suggestions 2022-04-05 07:01:03 +01:00
rustc_metadata rustdoc: Early doc link resolution fixes and refactorings 2022-04-07 00:19:48 +03:00
rustc_middle Auto merge of #95435 - cjgillot:one-name, r=oli-obk 2022-04-09 22:48:00 +00:00
rustc_mir_build interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal 2022-04-07 16:24:48 -04:00
rustc_mir_dataflow Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
rustc_mir_transform Rollup merge of #95649 - ouz-a:mir-opt, r=oli-obk 2022-04-06 23:06:06 +02:00
rustc_monomorphize Use def_key in tcx.item_name when possible. 2022-04-09 10:54:43 +02:00
rustc_parse Auto merge of #95715 - nnethercote:shrink-Nonterminal, r=davidtwco 2022-04-07 12:52:32 +00:00
rustc_parse_format Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
rustc_passes check_doc_keyword: don't alloc string for emptiness check 2022-04-08 11:45:57 +03:00
rustc_plugin_impl
rustc_privacy Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errors 2022-03-31 04:57:28 +02:00
rustc_query_impl rework implementation for inherent impls for builtin types 2022-03-30 11:23:58 +02:00
rustc_query_system Auto merge of #95524 - oli-obk:cached_stable_hash_cleanups, r=nnethercote 2022-04-09 02:31:24 +00:00
rustc_resolve Auto merge of #95697 - klensy:no-strings, r=petrochenkov 2022-04-09 13:15:26 +00:00
rustc_save_analysis Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errors 2022-03-31 04:57:28 +02:00
rustc_serialize errors: implement fallback diagnostic translation 2022-04-05 07:01:02 +01:00
rustc_session expand: Remove ParseSess::missing_fragment_specifiers 2022-04-09 15:44:19 +03:00
rustc_span Split fuzzy_provenance_casts into lossy and fuzzy, feature gate and test it 2022-04-08 17:41:28 +02:00
rustc_symbol_mangling
rustc_target trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
rustc_trait_selection Auto merge of #95435 - cjgillot:one-name, r=oli-obk 2022-04-09 22:48:00 +00:00
rustc_traits
rustc_ty_utils Auto merge of #94883 - cjgillot:flat-metadata, r=oli-obk 2022-04-01 21:16:41 +00:00
rustc_type_ir
rustc_typeck Auto merge of #95435 - cjgillot:one-name, r=oli-obk 2022-04-09 22:48:00 +00:00