rust/tests/ui/typeck/check-args-on-fn-err-2.rs

6 lines
125 B
Rust

fn main() {
a((), 1i32 == 2u32);
//~^ ERROR cannot find function `a` in this scope
//~| ERROR mismatched types
}