summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/mbe_missing_right_paren.stderr
blob: ccaf77d3995e0463a9012fa66b509e7258f85518 (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
27
28
29
30
31
error: this file contains an unclosed delimiter
  --> $DIR/mbe_missing_right_paren.rs:3:19
   |
LL | macro_rules! abc(ؼ
   |                 - ^
   |                 |
   |                 unclosed delimiter

error: macros that expand to items must be delimited with braces or followed by a semicolon
  --> $DIR/mbe_missing_right_paren.rs:3:17
   |
LL | macro_rules! abc(ؼ
   |                 ^^
   |
help: change the delimiters to curly braces
   |
LL | macro_rules! abc { /* items */ }
   |                  ~~~~~~~~~~~~~~~
help: add a semicolon
   |
LL | macro_rules! abc(ؼ;
   |                   +

error: unexpected end of macro invocation
  --> $DIR/mbe_missing_right_paren.rs:3:19
   |
LL | macro_rules! abc(ؼ
   |                   ^ missing tokens in macro arguments

error: aborting due to 3 previous errors