summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/js-style-comparison-op.stderr
blob: 33f7a0844fd2754907cbb9b537ba7fc594e419a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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