fix warning still mentioning the again keyword
This commit is contained in:
parent
3d14470be4
commit
c327835a44
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ pub fn check_crate(tcx: ty::ctxt, crate: &Crate) {
|
|||
}
|
||||
expr_again(_) => {
|
||||
if !cx.in_loop {
|
||||
tcx.sess.span_err(e.span, "`again` outside of loop");
|
||||
tcx.sess.span_err(e.span, "`loop` outside of loop");
|
||||
}
|
||||
}
|
||||
expr_ret(oe) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue