fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
1.4 KiB60 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   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
20
21error: expected EOF, found `=`.
22  --> $DIR/three-equals.rs:18:21
23   |
24LL |     three_equals!(=====);
25   |                     ^^
26   |
27note: last good input was here
28  --> $DIR/three-equals.rs:18:21
29   |
30LL |     three_equals!(=====);
31   |                     ^^
32   = help: input must be: `===`
33
34error: expected `=`, found `abc`.
35  --> $DIR/three-equals.rs:21:19
36   |
37LL |     three_equals!(abc);
38   |                   ^^^
39
40error: expected `=`, found `!`.
41  --> $DIR/three-equals.rs:24:19
42   |
43LL |     three_equals!(!!);
44   |                   ^
45
46error: expected EOF, found `a`.
47  --> $DIR/three-equals.rs:27:22
48   |
49LL |     three_equals!(===a);
50   |                      ^
51   |
52note: last good input was here
53  --> $DIR/three-equals.rs:27:21
54   |
55LL |     three_equals!(===a);
56   |                     ^
57   = help: input must be: `===`
58
59error: aborting due to 5 previous errors
60