blob: d95e7dc7d9effee01219ada3196fad38e35af57e [file] [log] [blame]
pub fn test() {
foo(|_|) //~ ERROR expected expression, found `)`
//~^ ERROR cannot find function `foo` in this scope
}
fn main() { }