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