2011-10-20 22:34:04 -05:00
|
|
|
fn f() {
|
2011-10-10 15:50:13 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
// Can't produce a bare function by binding
|
2012-01-11 14:52:25 -06:00
|
|
|
let g: native fn() = bind f();
|
|
|
|
//!^ ERROR mismatched types: expected `native fn()` but found `fn@()`
|
2011-12-25 13:27:09 -06:00
|
|
|
}
|