]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/js-style-comparison-op.fixed
Rollup merge of #105234 - JakobDegen:unneeded-field, r=oli-obk
[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 }