99674dc52b
expressions. cc #2981
9 lines
110 B
Rust
9 lines
110 B
Rust
// xfail-test #2978
|
|
|
|
fn call(x: @{mut f: fn~()}) {
|
|
x.f(); //~ ERROR foo
|
|
//~^ NOTE bar
|
|
}
|
|
|
|
fn main() {}
|