rust/src/test/compile-fail/crust-no-bind.rs

7 lines
121 B
Rust
Raw Normal View History

// error-pattern:expected function or native function but found *u8
crust fn f() {
}
fn main() {
let x = bind f();
}