rust/compiler/rustc_parse/src/parser
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_wrapper.rs Match unmatched backticks in comments in compiler/ 2023-03-03 08:39:00 +01:00
attr.rs fix clippy::toplevel_ref_arg and ::manual_map 2023-04-16 13:28:13 +02:00
diagnostics.rs Tweak await span 2023-04-27 17:18:11 +00:00
expr.rs Rollup merge of #110823 - compiler-errors:tweak-await-span, r=b-naber 2023-05-01 01:09:47 +02:00
generics.rs Fix static string lints 2023-04-25 18:59:55 +01:00
item.rs Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
mod.rs Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
nonterminal.rs use matches! macro in more places 2023-04-16 12:08:30 +02:00
pat.rs Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
path.rs Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00
stmt.rs feat/refactor: improve errors in case of ident with number at start 2023-03-09 21:29:32 +13:00
ty.rs Migrate trivially translatable rustc_parse diagnostics 2023-04-27 01:53:06 +01:00