]> git.lizzy.rs Git - rust.git/blob - src/test/ui/fn/fn-compare-mismatch.rs
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[rust.git] / src / test / ui / fn / fn-compare-mismatch.rs
1 fn main() {
2     fn f() { }
3     fn g() { }
4     let x = f == g;
5     //~^ ERROR binary operation `==` cannot be applied
6     //~| ERROR mismatched types
7 }