blob: 8a6a9cc840986f1a2bb57ffa9d81c70a01b50148 [file] [log] [blame]
//! Regression test for ICE #113379. Liveness linting assumes that `continue`s all point to loops.
//! This tests that if a `continue` points to a block, we don't run liveness lints.
async fn f999() -> Vec<usize> {
//~^ ERROR `async fn` is not permitted in Rust 2015
'b: {
//~^ ERROR mismatched types
continue 'b;
//~^ ERROR `continue` pointing to a labeled block
}
}
//~^ ERROR `main` function not found