rust/tests/ui/suggestions/js-style-comparison-op.stderr
2023-01-11 09:32:08 +00:00

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