mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
14 lines
428 B
Text
14 lines
428 B
Text
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
|
|
|