mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
fix warning still mentioning the again keyword
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user