]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-66667-function-cmp-cycle.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / issues / issue-66667-function-cmp-cycle.rs
1 fn first() {
2 second == 1 //~ ERROR binary operation
3 //~^ ERROR mismatched types
4 //~| ERROR mismatched types
5 }
6
7 fn second() {
8 first == 1 //~ ERROR binary operation
9 //~^ ERROR mismatched types
10 //~| ERROR mismatched types
11 }
12
13 fn bar() {
14 bar == 1 //~ ERROR binary operation
15 //~^ ERROR mismatched types
16 //~| ERROR mismatched types
17 }
18
19 fn main() {}