]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-at-most-once-rep-ambig.stderr
Rollup merge of #46518 - partim:asref-borrow-doc, r=dtolnay
[rust.git] / src / test / ui / macros / macro-at-most-once-rep-ambig.stderr
1 error: no rules expected the token `?`
2   --> $DIR/macro-at-most-once-rep-ambig.rs:40:11
3    |
4 LL |     foo!(a?a?a); //~ ERROR no rules expected the token `?`
5    |           ^
6
7 error: no rules expected the token `?`
8   --> $DIR/macro-at-most-once-rep-ambig.rs:41:11
9    |
10 LL |     foo!(a?a); //~ ERROR no rules expected the token `?`
11    |           ^
12
13 error: no rules expected the token `?`
14   --> $DIR/macro-at-most-once-rep-ambig.rs:42:11
15    |
16 LL |     foo!(a?); //~ ERROR no rules expected the token `?`
17    |           ^
18
19 error: no rules expected the token `?`
20   --> $DIR/macro-at-most-once-rep-ambig.rs:43:11
21    |
22 LL |     baz!(a?a?a); //~ ERROR no rules expected the token `?`
23    |           ^
24
25 error: no rules expected the token `?`
26   --> $DIR/macro-at-most-once-rep-ambig.rs:44:11
27    |
28 LL |     baz!(a?a); //~ ERROR no rules expected the token `?`
29    |           ^
30
31 error: no rules expected the token `?`
32   --> $DIR/macro-at-most-once-rep-ambig.rs:45:11
33    |
34 LL |     baz!(a?); //~ ERROR no rules expected the token `?`
35    |           ^
36
37 error: unexpected end of macro invocation
38   --> $DIR/macro-at-most-once-rep-ambig.rs:46:11
39    |
40 LL |     baz!(a,); //~ ERROR unexpected end of macro invocation
41    |           ^
42
43 error: no rules expected the token `?`
44   --> $DIR/macro-at-most-once-rep-ambig.rs:47:11
45    |
46 LL |     baz!(a?a?a,); //~ ERROR no rules expected the token `?`
47    |           ^
48
49 error: no rules expected the token `?`
50   --> $DIR/macro-at-most-once-rep-ambig.rs:48:11
51    |
52 LL |     baz!(a?a,); //~ ERROR no rules expected the token `?`
53    |           ^
54
55 error: no rules expected the token `?`
56   --> $DIR/macro-at-most-once-rep-ambig.rs:49:11
57    |
58 LL |     baz!(a?,); //~ ERROR no rules expected the token `?`
59    |           ^
60
61 error: unexpected end of macro invocation
62   --> $DIR/macro-at-most-once-rep-ambig.rs:50:5
63    |
64 LL |     barplus!(); //~ ERROR unexpected end of macro invocation
65    |     ^^^^^^^^^^^
66
67 error: unexpected end of macro invocation
68   --> $DIR/macro-at-most-once-rep-ambig.rs:51:15
69    |
70 LL |     barplus!(a?); //~ ERROR unexpected end of macro invocation
71    |               ^
72
73 error: unexpected end of macro invocation
74   --> $DIR/macro-at-most-once-rep-ambig.rs:52:15
75    |
76 LL |     barstar!(a?); //~ ERROR unexpected end of macro invocation
77    |               ^
78
79 error: aborting due to 13 previous errors
80