9 lines
183 B
Rust
9 lines
183 B
Rust
fn f() {
|
|
}
|
|
|
|
fn main() {
|
|
// Can't produce a bare function by binding
|
|
let g: native fn() = bind f();
|
|
//!^ ERROR mismatched types: expected `native fn()` but found `fn@()`
|
|
}
|