summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/await-keyword/2018-edition-error.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:58 +0000
commita4b7ed7a42c716ab9f05e351f003d589124fd55d (patch)
treeb620cd3f223850b28716e474e80c58059dca5dd4 /src/test/ui/async-await/await-keyword/2018-edition-error.stderr
parentAdding upstream version 1.67.1+dfsg1. (diff)
downloadrustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.tar.xz
rustc-a4b7ed7a42c716ab9f05e351f003d589124fd55d.zip
Adding upstream version 1.68.2+dfsg1.upstream/1.68.2+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/async-await/await-keyword/2018-edition-error.stderr')
-rw-r--r--src/test/ui/async-await/await-keyword/2018-edition-error.stderr63
1 files changed, 0 insertions, 63 deletions
diff --git a/src/test/ui/async-await/await-keyword/2018-edition-error.stderr b/src/test/ui/async-await/await-keyword/2018-edition-error.stderr
deleted file mode 100644
index 34bfdfc71..000000000
--- a/src/test/ui/async-await/await-keyword/2018-edition-error.stderr
+++ /dev/null
@@ -1,63 +0,0 @@
-error: expected identifier, found keyword `await`
- --> $DIR/2018-edition-error.rs:5:13
- |
-LL | pub mod await {
- | ^^^^^ expected identifier, found keyword
- |
-help: escape `await` to use it as an identifier
- |
-LL | pub mod r#await {
- | ++
-
-error: expected identifier, found keyword `await`
- --> $DIR/2018-edition-error.rs:6:20
- |
-LL | pub struct await;
- | ^^^^^ expected identifier, found keyword
- |
-help: escape `await` to use it as an identifier
- |
-LL | pub struct r#await;
- | ++
-
-error: expected identifier, found keyword `await`
- --> $DIR/2018-edition-error.rs:9:22
- |
-LL | use self::outer_mod::await::await;
- | ^^^^^ expected identifier, found keyword
- |
-help: escape `await` to use it as an identifier
- |
-LL | use self::outer_mod::r#await::await;
- | ++
-
-error: expected identifier, found keyword `await`
- --> $DIR/2018-edition-error.rs:9:29
- |
-LL | use self::outer_mod::await::await;
- | ^^^^^ expected identifier, found keyword
- |
-help: escape `await` to use it as an identifier
- |
-LL | use self::outer_mod::await::r#await;
- | ++
-
-error: expected identifier, found keyword `await`
- --> $DIR/2018-edition-error.rs:12:14
- |
-LL | macro_rules! await { () => {}; }
- | ^^^^^ expected identifier, found keyword
- |
-help: escape `await` to use it as an identifier
- |
-LL | macro_rules! r#await { () => {}; }
- | ++
-
-error: expected expression, found `)`
- --> $DIR/2018-edition-error.rs:15:12
- |
-LL | await!();
- | ^ expected expression
-
-error: aborting due to 6 previous errors
-