]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/js-style-comparison-op.stderr
Rollup merge of #106919 - compiler-errors:underscore-typo-in-field-pat, r=jackh726
[rust.git] / tests / ui / suggestions / js-style-comparison-op.stderr
1 error: invalid comparison operator `===`
2   --> $DIR/js-style-comparison-op.rs:3:10
3    |
4 LL |     if 1 === 1 {
5    |          ^^^ help: `===` is not a valid comparison operator, use `==`
6
7 error: invalid comparison operator `!==`
8   --> $DIR/js-style-comparison-op.rs:5:17
9    |
10 LL |     } else if 1 !== 1 {
11    |                 ^^^ help: `!==` is not a valid comparison operator, use `!=`
12
13 error: aborting due to 2 previous errors
14