fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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