fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
428 B14 linesraw
1error: invalid comparison operator `===`
2  --> $DIR/js-style-comparison-op.rs:3:10
3   |
4LL |     if 1 === 1 {
5   |          ^^^ help: `===` is not a valid comparison operator, use `==`
6
7error: invalid comparison operator `!==`
8  --> $DIR/js-style-comparison-op.rs:5:17
9   |
10LL |     } else if 1 !== 1 {
11   |                 ^^^ help: `!==` is not a valid comparison operator, use `!=`
12
13error: aborting due to 2 previous errors
14