2011-06-25 08:12:31 -07:00
|
|
|
fn main() {
|
2011-07-27 14:19:39 +02:00
|
|
|
fn f() { }
|
2012-08-30 18:57:58 -07:00
|
|
|
fn g() { }
|
2011-07-27 14:19:39 +02:00
|
|
|
let x = f == g;
|
2014-01-12 10:35:10 +01:00
|
|
|
//~^ ERROR binary operation `==` cannot be applied
|
2015-03-30 04:56:24 -04:00
|
|
|
//~| ERROR mismatched types
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|