summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-66667-function-cmp-cycle.rs
blob: 7b025be11a09edc0f57678591aa3f00836d87947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
fn first() {
    second == 1 //~ ERROR binary operation
    //~^ ERROR mismatched types
}

fn second() {
    first == 1 //~ ERROR binary operation
    //~^ ERROR mismatched types
}

fn bar() {
    bar == 1 //~ ERROR binary operation
    //~^ ERROR mismatched types
}

fn main() {}