diff options
| author | darklyspaced <srohanjd@gmail.com> | 2023-08-07 22:40:09 +0800 |
|---|---|---|
| committer | darklyspaced <srohanjd@gmail.com> | 2023-08-07 22:40:09 +0800 |
| commit | 7c3a8aeea55816455108ee21ffddf99441437cec (patch) | |
| tree | 28ffc1039198e3118664ca0a971b0528b5b501a2 /tests/ui/parser/issues/issue-113203.rs | |
| parent | 13ac0234c6fa9335741084f1dd66b98ffb938e78 (diff) | |
| download | rust-7c3a8aeea55816455108ee21ffddf99441437cec.tar.gz rust-7c3a8aeea55816455108ee21ffddf99441437cec.zip | |
relocate tests to pass tidy
Diffstat (limited to 'tests/ui/parser/issues/issue-113203.rs')
| -rw-r--r-- | tests/ui/parser/issues/issue-113203.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-113203.rs b/tests/ui/parser/issues/issue-113203.rs new file mode 100644 index 00000000000..1103251c140 --- /dev/null +++ b/tests/ui/parser/issues/issue-113203.rs @@ -0,0 +1,7 @@ +// Checks what happens when we attempt to use the await keyword as a prefix. Span +// incorrectly emitted an `.await` in E0277 which does not exist +// edition:2018 +fn main() { + await {}() + //~^ ERROR incorrect use of `await` +} |
