]>
Commit | Line | Data |
---|---|---|
ba9703b0 XL |
1 | fn first() { |
2 | second == 1 //~ ERROR binary operation | |
3 | //~^ ERROR mismatched types | |
353b0b11 | 4 | //~| ERROR mismatched types |
ba9703b0 XL |
5 | } |
6 | ||
7 | fn second() { | |
8 | first == 1 //~ ERROR binary operation | |
9 | //~^ ERROR mismatched types | |
353b0b11 | 10 | //~| ERROR mismatched types |
ba9703b0 XL |
11 | } |
12 | ||
13 | fn bar() { | |
14 | bar == 1 //~ ERROR binary operation | |
15 | //~^ ERROR mismatched types | |
353b0b11 | 16 | //~| ERROR mismatched types |
ba9703b0 XL |
17 | } |
18 | ||
19 | fn main() {} |