]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/macro-at-most-once-rep-2018.stderr
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
[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:11:10
3    |
4 LL |     ($(a),?) => {};
5    |          ^
6
7 error: no rules expected the token `?`
8   --> $DIR/macro-at-most-once-rep-2018.rs:25:11
9    |
10 LL | macro_rules! foo {
11    | ---------------- when calling this macro
12 ...
13 LL |     foo!(a?);
14    |           ^ no rules expected this token in macro call
15
16 error: no rules expected the token `?`
17   --> $DIR/macro-at-most-once-rep-2018.rs:26:11
18    |
19 LL | macro_rules! foo {
20    | ---------------- when calling this macro
21 ...
22 LL |     foo!(a?a);
23    |           ^ no rules expected this token in macro call
24
25 error: no rules expected the token `?`
26   --> $DIR/macro-at-most-once-rep-2018.rs:27:11
27    |
28 LL | macro_rules! foo {
29    | ---------------- when calling this macro
30 ...
31 LL |     foo!(a?a?a);
32    |           ^ no rules expected this token in macro call
33
34 error: unexpected end of macro invocation
35   --> $DIR/macro-at-most-once-rep-2018.rs:29:5
36    |
37 LL | macro_rules! barplus {
38    | -------------------- when calling this macro
39 ...
40 LL |     barplus!();
41    |     ^^^^^^^^^^^ missing tokens in macro arguments
42
43 error: unexpected end of macro invocation
44   --> $DIR/macro-at-most-once-rep-2018.rs:30:15
45    |
46 LL | macro_rules! barplus {
47    | -------------------- when calling this macro
48 ...
49 LL |     barplus!(a);
50    |               ^ missing tokens in macro arguments
51
52 error: no rules expected the token `?`
53   --> $DIR/macro-at-most-once-rep-2018.rs:31:15
54    |
55 LL | macro_rules! barplus {
56    | -------------------- when calling this macro
57 ...
58 LL |     barplus!(a?);
59    |               ^ no rules expected this token in macro call
60
61 error: no rules expected the token `?`
62   --> $DIR/macro-at-most-once-rep-2018.rs:32:15
63    |
64 LL | macro_rules! barplus {
65    | -------------------- when calling this macro
66 ...
67 LL |     barplus!(a?a);
68    |               ^ no rules expected this token in macro call
69
70 error: unexpected end of macro invocation
71   --> $DIR/macro-at-most-once-rep-2018.rs:36:5
72    |
73 LL | macro_rules! barstar {
74    | -------------------- when calling this macro
75 ...
76 LL |     barstar!();
77    |     ^^^^^^^^^^^ missing tokens in macro arguments
78
79 error: unexpected end of macro invocation
80   --> $DIR/macro-at-most-once-rep-2018.rs:37:15
81    |
82 LL | macro_rules! barstar {
83    | -------------------- when calling this macro
84 ...
85 LL |     barstar!(a);
86    |               ^ missing tokens in macro arguments
87
88 error: no rules expected the token `?`
89   --> $DIR/macro-at-most-once-rep-2018.rs:38:15
90    |
91 LL | macro_rules! barstar {
92    | -------------------- when calling this macro
93 ...
94 LL |     barstar!(a?);
95    |               ^ no rules expected this token in macro call
96
97 error: no rules expected the token `?`
98   --> $DIR/macro-at-most-once-rep-2018.rs:39:15
99    |
100 LL | macro_rules! barstar {
101    | -------------------- when calling this macro
102 ...
103 LL |     barstar!(a?a);
104    |               ^ no rules expected this token in macro call
105
106 error: aborting due to 12 previous errors
107