035c01af93
but do not integrate with kindck etc (requires a snapshot first)
8 lines
133 B
Rust
8 lines
133 B
Rust
|
|
trait Foo {}
|
|
|
|
fn take(f: &fn:Foo()) {
|
|
//~^ ERROR only the builtin traits can be used as closure or object bounds
|
|
}
|
|
|
|
fn main() {} |