8 lines
154 B
Rust
8 lines
154 B
Rust
fn main() {
|
|
fn f() { }
|
|
fn g() { }
|
|
let x = f == g;
|
|
//~^ ERROR mismatched types
|
|
//~^^ ERROR failed to find an implementation of trait
|
|
}
|