]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
ba9703b0
XL
1fn first() {
2 second == 1 //~ ERROR binary operation
3 //~^ ERROR mismatched types
353b0b11 4 //~| ERROR mismatched types
ba9703b0
XL
5}
6
7fn second() {
8 first == 1 //~ ERROR binary operation
9 //~^ ERROR mismatched types
353b0b11 10 //~| ERROR mismatched types
ba9703b0
XL
11}
12
13fn bar() {
14 bar == 1 //~ ERROR binary operation
15 //~^ ERROR mismatched types
353b0b11 16 //~| ERROR mismatched types
ba9703b0
XL
17}
18
19fn main() {}