2017-08-28 04:56:43 -05:00
|
|
|
error: found 2 equal signs, need exactly 3
|
2019-08-20 15:35:03 -05:00
|
|
|
--> $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
|
2017-08-28 04:56:43 -05:00
|
|
|
|
|
|
|
|
= help: input must be: `===`
|
2019-12-16 07:56:47 -06:00
|
|
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2017-08-28 04:56:43 -05:00
|
|
|
|
|
|
|
error: expected EOF, found `=`.
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/three-equals.rs:18:21
|
2017-08-28 04:56:43 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | three_equals!(=====);
|
2017-08-28 04:56:43 -05:00
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
note: last good input was here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/three-equals.rs:18:21
|
2017-08-28 04:56:43 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | three_equals!(=====);
|
2017-08-28 04:56:43 -05:00
|
|
|
| ^^
|
|
|
|
= help: input must be: `===`
|
|
|
|
|
|
|
|
error: expected `=`, found `abc`.
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/three-equals.rs:21:19
|
2017-08-28 04:56:43 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | three_equals!(abc);
|
2017-08-28 04:56:43 -05:00
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error: expected `=`, found `!`.
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/three-equals.rs:24:19
|
2017-08-28 04:56:43 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | three_equals!(!!);
|
2017-08-28 04:56:43 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
error: expected EOF, found `a`.
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/three-equals.rs:27:22
|
2017-08-28 04:56:43 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | three_equals!(===a);
|
2017-08-28 04:56:43 -05:00
|
|
|
| ^
|
|
|
|
|
|
|
|
|
note: last good input was here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/three-equals.rs:27:21
|
2017-08-28 04:56:43 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | three_equals!(===a);
|
2017-08-28 04:56:43 -05:00
|
|
|
| ^
|
|
|
|
= help: input must be: `===`
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|