]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/js-style-comparison-op.fixed
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / ui / suggestions / js-style-comparison-op.fixed
1 // run-rustfix
2 fn main() {
3     if 1 == 1 { //~ ERROR invalid comparison operator `===`
4         println!("yup!");
5     } else if 1 != 1 { //~ ERROR invalid comparison operator `!==`
6         println!("nope!");
7     }
8 }