Skip to content

Commit 6ad328c

Browse files
committed
Move macro-at-most-once-rep-ambig test to ui test
1 parent b298607 commit 6ad328c

File tree

2 files changed

+80
-0
lines changed

2 files changed

+80
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
error: no rules expected the token `?`
2+
--> $DIR/macro-at-most-once-rep-ambig.rs:40:11
3+
|
4+
40 | 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+
41 | 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+
42 | 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+
43 | 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+
44 | 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+
45 | 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+
46 | 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+
47 | 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+
48 | 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+
49 | 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+
50 | 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+
51 | 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+
52 | barstar!(a?); //~ ERROR unexpected end of macro invocation
77+
| ^
78+
79+
error: aborting due to 13 previous errors
80+

0 commit comments

Comments
 (0)