rust/compiler/rustc_span/src
Dylan DPC 1c3657b20d
Rollup merge of #95011 - michaelwoerister:awaitee_field, r=tmandry
async: Give predictable name to binding generated from .await expressions.

This name makes it to debuginfo and allows debuggers to identify such bindings and their captured versions in suspended async fns.

This will be useful for async stack traces, as discussed in https://internals.rust-lang.org/t/async-debugging-logical-stack-traces-setting-goals-collecting-examples/15547.

I don't know if this needs some discussion by ````@rust-lang/compiler,```` e.g. about the name of the binding (`__awaitee`) or about the fact that this PR introduces a (soft) guarantee about a compiler generated name. Although, regarding the later, I think the same reasoning applies here as it does for debuginfo in general.

r? ````@tmandry````
2022-03-31 00:26:30 +02:00
..
analyze_source_file
lev_distance Introduce a limit to Levenshtein distance computation 2022-01-26 12:38:22 +01:00
source_map
symbol Move the Lock into symbol::Interner 2021-09-15 18:46:45 +02:00
analyze_source_file.rs
caching_source_map_view.rs Convert debug_assert to assert in CachingSourceMapView 2021-09-17 12:01:29 -05:00
def_id.rs add #[rustc_pass_by_value] to more types 2022-03-08 15:39:52 +01:00
edition.rs Update LATEST_STABLE_EDITION to 2021. 2021-08-30 15:33:09 +02:00
fatal_error.rs Make fatal DiagnosticBuilder yield never 2022-03-27 22:25:32 -07:00
hygiene.rs Remove ordering traits from rustc_span::hygiene::LocalExpnId 2022-03-04 11:00:36 -06:00
lev_distance.rs Introduce a limit to Levenshtein distance computation 2022-01-26 12:38:22 +01:00
lib.rs Enable rustc_pass_by_value for Span 2022-02-25 08:00:53 -05:00
source_map.rs Make span_extend_to_prev_str() more robust 2022-01-31 19:28:15 +01:00
span_encoding.rs Enable rustc_pass_by_value for Span 2022-02-25 08:00:53 -05:00
symbol.rs Rollup merge of #95011 - michaelwoerister:awaitee_field, r=tmandry 2022-03-31 00:26:30 +02:00
tests.rs Inline implementation of lookup_line 2021-07-08 23:30:53 +02:00