blob: 0b3bfae0608ab17be071b56bf794e79e31354260 [file] [log] [blame]
#![feature(ergonomic_clones)]
#![allow(incomplete_features)]
fn parse1() {
|| use {
//~^ ERROR expected one of `async`, `|`, or `||`, found `{`
};
}
fn parse2() {
move use || {
//~^ ERROR expected one of `async`, `|`, or `||`, found keyword `use`
};
}
fn parse3() {
use move || {
//~^ ERROR expected one of `async`, `|`, or `||`, found keyword `move`
};
}
fn main() {}