rust/tests/ui/issues/issue-10764.rs
2023-01-11 09:32:08 +00:00

6 lines
104 B
Rust

fn f(_: extern "Rust" fn()) {}
extern "C" fn bar() {}
fn main() { f(bar) }
//~^ ERROR mismatched types