summary refs log tree commit diff
path: root/src/test/ui/proc-macro/three-equals.stderr
blob: 0698b0f47542409f6b8d638c964e429d9786d8c3 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
error: found 2 equal signs, need exactly 3
  --> $DIR/auxiliary/three-equals.rs:42:1
   |
LL | / pub fn three_equals(input: TokenStream) -> TokenStream {
LL | |     if let Err(diag) = parse(input) {
LL | |         diag.emit();
LL | |         return TokenStream::new();
...  |
LL | |     "3".parse().unwrap()
LL | | }
   | |_^
   | 
  ::: $DIR/three-equals.rs:15:5
   |
LL |       three_equals!(==);
   |       ------------------ in this macro invocation
   |
   = help: input must be: `===`

error: expected EOF, found `=`.
  --> $DIR/three-equals.rs:18:21
   |
LL |     three_equals!(=====);
   |                     ^^
   |
note: last good input was here
  --> $DIR/three-equals.rs:18:21
   |
LL |     three_equals!(=====);
   |                     ^^
   = help: input must be: `===`

error: expected `=`, found `abc`.
  --> $DIR/three-equals.rs:21:19
   |
LL |     three_equals!(abc);
   |                   ^^^

error: expected `=`, found `!`.
  --> $DIR/three-equals.rs:24:19
   |
LL |     three_equals!(!!);
   |                   ^

error: expected EOF, found `a`.
  --> $DIR/three-equals.rs:27:22
   |
LL |     three_equals!(===a);
   |                      ^
   |
note: last good input was here
  --> $DIR/three-equals.rs:27:21
   |
LL |     three_equals!(===a);
   |                     ^
   = help: input must be: `===`

error: aborting due to 5 previous errors