rust/compiler/rustc_ast/src
Matthias Krüger 1b262b8b56
Rollup merge of #110823 - compiler-errors:tweak-await-span, r=b-naber
Tweak await span to not contain dot

Fixes a discrepancy between method calls and await expressions where the latter are desugared to have a span that *contains* the dot (i.e. `.await`) but method call identifiers don't contain the dot. This leads to weird suggestions suggestions in borrowck -- see linked issue.

Fixes #110761

This mostly touches a bunch of tests to tighten their `await` span.
2023-05-01 01:09:47 +02:00
..
attr Remove WorkerLocal from AttrIdGenerator 2023-04-16 05:50:58 +02:00
expand Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
util Tweak await span 2023-04-27 17:18:11 +00:00
ast.rs Rollup merge of #110823 - compiler-errors:tweak-await-span, r=b-naber 2023-05-01 01:09:47 +02:00
ast_traits.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
entry.rs Fixup missing renames from #[main] to #[rustc_main] 2022-06-22 18:24:09 +02:00
format.rs Fix typos in compiler 2023-04-10 22:02:52 +02:00
lib.rs make rustc compilable 2023-04-16 07:25:13 +00:00
mut_visit.rs Tweak await span 2023-04-27 17:18:11 +00:00
node_id.rs Various minor Idx-related tweaks 2023-04-16 02:42:50 -07:00
ptr.rs make rustc compilable 2023-04-16 07:25:13 +00:00
token.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
tokenstream.rs Rename Cursor/CursorRef as TokenTreeCursor/RefTokenTreeCursor. 2023-02-03 10:06:52 +11:00
visit.rs Tweak await span 2023-04-27 17:18:11 +00:00