mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
15 lines
428 B
Plaintext
15 lines
428 B
Plaintext
error: invalid comparison operator `===`
|
|
--> $DIR/js-style-comparison-op.rs:3:10
|
|
|
|
|
LL | if 1 === 1 {
|
|
| ^^^ help: `===` is not a valid comparison operator, use `==`
|
|
|
|
error: invalid comparison operator `!==`
|
|
--> $DIR/js-style-comparison-op.rs:5:17
|
|
|
|
|
LL | } else if 1 !== 1 {
|
|
| ^^^ help: `!==` is not a valid comparison operator, use `!=`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|