rust/tests/ui/suggestions/js-style-comparison-op.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
428 B
Plaintext
Raw Normal View History

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