summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/js-style-comparison-op.fixed
blob: f7e977b918d7dc4b7b545d0e46f8f8e0e6bb10e1 (plain)
1
2
3
4
5
6
7
8
// run-rustfix
fn main() {
    if 1 == 1 { //~ ERROR invalid comparison operator `===`
        println!("yup!");
    } else if 1 != 1 { //~ ERROR invalid comparison operator `!==`
        println!("nope!");
    }
}