blob: 21369d0be61b1f20badd9dbb1877ce9b40a84160 [file] [log] [blame]
// This basically tests the parser's recovery on `'blk` in the wrong place.
fn foo(cond: bool) {
let mut x;
if cond {
x = &'blk [1,2,3]; //~ ERROR expected `:`, found `[`
}
}
fn main() {}