050170d2af
Issue #1056
10 lines
110 B
Rust
10 lines
110 B
Rust
// error-pattern:fail
|
|
|
|
fn x(it: block(int)) {
|
|
let a = @0;
|
|
it(1);
|
|
}
|
|
|
|
fn main() {
|
|
x {|_x| fail; };
|
|
} |