rust/compiler
Eric Holk 05e1f0d769 Generate more precise generator names
Currently all generators are named with a `generator$N` suffix,
regardless of where they come from. This means an `async fn` shows up as
a generator in stack traces, which can be surprising to async
programmers since they should not need to know that async functions are
implementated using generators.

This change generators a different name depending on the generator kind,
allowing us to tell whether the generator is the result of an async
block, an async closure, an async fn, or a plain generator.
2022-01-13 15:38:03 -08: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 Rollup merge of #91907 - lcnr:const-arg-infer, r=BoxyUwU 2022-01-04 21:23:06 +01:00
rustc_ast_passes Move PatKind::Lit checking from ast_validation to ast lowering 2022-01-01 15:10:43 -05:00
rustc_ast_pretty Rollup merge of #92336 - dtolnay:printstateself, r=michaelwoerister 2022-01-07 20:20:56 -08:00
rustc_attr
rustc_borrowck Auto merge of #89861 - nbdd0121:closure, r=wesleywiser 2022-01-13 18:51:07 +00:00
rustc_builtin_macros Update AsmArgs field visibility for rustfmt 2022-01-10 22:38:15 -05:00
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 Generate more precise generator names 2022-01-13 15:38:03 -08:00
rustc_const_eval Rollup merge of #92432 - fee1-dead:constck-impl-constness, r=oli-obk 2022-01-12 07:12:06 +01: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 Rollup merge of #92504 - dtolnay:wall, r=jackh726 2022-01-06 23:15:17 +01:00
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 Rollup merge of #91907 - lcnr:const-arg-infer, r=BoxyUwU 2022-01-04 21:23:06 +01:00
rustc_incremental eplace usages of vec![].into_iter with [].into_iter 2022-01-09 14:09:25 +11:00
rustc_index Introduce IntervalSet 2021-12-30 22:33:44 -05:00
rustc_infer Auto merge of #92533 - Aaron1011:variant-symbol, r=petrochenkov 2022-01-11 21:02:01 +00:00
rustc_interface ast: Always keep a NodeId in ast::Crate 2022-01-05 17:09:37 +08:00
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 Rollup merge of #92559 - durin42:llvm-14-attributemask, r=nikic 2022-01-06 23:15:18 +01:00
rustc_log Make rustc_log doc test runnable 2022-01-03 22:31:56 -08:00
rustc_macros Rollup merge of #92011 - Aaron1011:decode-span, r=michaelwoerister 2022-01-03 14:44:16 +01:00
rustc_metadata Auto merge of #92169 - In-line:no-cache-selector-lrc, r=Mark-Simulacrum 2022-01-12 21:04:40 +00:00
rustc_middle Auto merge of #89861 - nbdd0121:closure, r=wesleywiser 2022-01-13 18:51:07 +00:00
rustc_mir_build Auto merge of #89861 - nbdd0121:closure, r=wesleywiser 2022-01-13 18:51:07 +00: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 Auto merge of #89861 - nbdd0121:closure, r=wesleywiser 2022-01-13 18:51:07 +00: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 Add trait_item_def_id to AssocItem 2022-01-07 12:28:12 -08:00
rustc_serialize
rustc_session sess/cg: re-introduce split dwarf kind 2022-01-06 09:32:42 +00:00
rustc_span Auto merge of #92012 - llogiq:repr-c-def-id, r=michaelwoerister 2022-01-11 08:09:00 +00:00
rustc_symbol_mangling Ensure that Fingerprint caching respects hashing configuration 2022-01-05 10:13:28 -05:00
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 Add trait_item_def_id to AssocItem 2022-01-07 12:28:12 -08:00
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 #89861 - nbdd0121:closure, r=wesleywiser 2022-01-13 18:51:07 +00:00