summaryrefslogtreecommitdiffstats
path: root/tests/ui/editions/edition-keywords-2015-2018-parsing.stderr
blob: fa83908e6666e70a62d1f87e8fb939c406afd358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: no rules expected the token `r#async`
  --> $DIR/edition-keywords-2015-2018-parsing.rs:16:31
   |
LL |     r#async = consumes_async!(r#async);
   |                               ^^^^^^^ no rules expected this token in macro call
   |
note: while trying to match `async`
  --> $DIR/auxiliary/edition-kw-macro-2018.rs:17:6
   |
LL |     (async) => (1)
   |      ^^^^^

error: no rules expected the token `async`
  --> $DIR/edition-keywords-2015-2018-parsing.rs:17:35
   |
LL |     r#async = consumes_async_raw!(async);
   |                                   ^^^^^ no rules expected this token in macro call
   |
note: while trying to match `r#async`
  --> $DIR/auxiliary/edition-kw-macro-2018.rs:22:6
   |
LL |     (r#async) => (1)
   |      ^^^^^^^

error: aborting due to 2 previous errors