rust/compiler/rustc_ast_lowering/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
..
asm.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
block.rs rustc_ast_lowering: remove ref patterns 2022-11-22 18:49:29 +00:00
errors.rs Make async removal span more resilient to macro expansions 2023-04-27 18:25:07 +00:00
expr.rs Make async removal span more resilient to macro expansions 2023-04-27 18:25:07 +00:00
format.rs Rollup merge of #110823 - compiler-errors:tweak-await-span, r=b-naber 2023-05-01 01:09:47 +02:00
index.rs Split {Idx, IndexVec, IndexSlice} into their own modules 2023-04-24 13:53:35 +00:00
item.rs IntoFuture::into_future is no longer unstable 2023-04-26 22:44:18 +00:00
lib.rs IntoFuture::into_future is no longer unstable 2023-04-26 22:44:18 +00:00
lifetime_collector.rs Rename Rptr to Ref in AST and HIR 2022-12-28 18:52:36 +01:00
pat.rs Add ErrorGuaranteed to HIR ExprKind::Err 2023-02-25 19:46:36 +00:00
path.rs Remove .. from return type notation 2023-04-10 22:19:46 +00:00