blob: 494ad083f1a87a684ba377e3362470fbe3d8be80 [file] [log] [blame]
fn f(_: bool) {}
struct Foo {
cx: bool,
}
impl Foo {
fn bar() {
f(cx);
//~^ ERROR cannot find value `cx` in this scope
}
}
fn main() {}