]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-66667-function-cmp-cycle.rs
New upstream version 1.68.2+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 }
5
6 fn second() {
7 first == 1 //~ ERROR binary operation
8 //~^ ERROR mismatched types
9 }
10
11 fn bar() {
12 bar == 1 //~ ERROR binary operation
13 //~^ ERROR mismatched types
14 }
15
16 fn main() {}