]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/js-style-comparison-op.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / js-style-comparison-op.rs
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 }