]> git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/three-equals.stderr
0698b0f47542409f6b8d638c964e429d9786d8c3
[rustc.git] / src / test / ui / proc-macro / three-equals.stderr
1 error: found 2 equal signs, need exactly 3
2 --> $DIR/auxiliary/three-equals.rs:42:1
3 |
4 LL | / pub fn three_equals(input: TokenStream) -> TokenStream {
5 LL | | if let Err(diag) = parse(input) {
6 LL | | diag.emit();
7 LL | | return TokenStream::new();
8 ... |
9 LL | | "3".parse().unwrap()
10 LL | | }
11 | |_^
12 |
13 ::: $DIR/three-equals.rs:15:5
14 |
15 LL | three_equals!(==);
16 | ------------------ in this macro invocation
17 |
18 = help: input must be: `===`
19
20 error: expected EOF, found `=`.
21 --> $DIR/three-equals.rs:18:21
22 |
23 LL | three_equals!(=====);
24 | ^^
25 |
26 note: last good input was here
27 --> $DIR/three-equals.rs:18:21
28 |
29 LL | three_equals!(=====);
30 | ^^
31 = help: input must be: `===`
32
33 error: expected `=`, found `abc`.
34 --> $DIR/three-equals.rs:21:19
35 |
36 LL | three_equals!(abc);
37 | ^^^
38
39 error: expected `=`, found `!`.
40 --> $DIR/three-equals.rs:24:19
41 |
42 LL | three_equals!(!!);
43 | ^
44
45 error: expected EOF, found `a`.
46 --> $DIR/three-equals.rs:27:22
47 |
48 LL | three_equals!(===a);
49 | ^
50 |
51 note: last good input was here
52 --> $DIR/three-equals.rs:27:21
53 |
54 LL | three_equals!(===a);
55 | ^
56 = help: input must be: `===`
57
58 error: aborting due to 5 previous errors
59