We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d89ff7e + c327835 commit 2d1eb19Copy full SHA for 2d1eb19
src/librustc/middle/check_loop.rs
@@ -52,7 +52,7 @@ pub fn check_crate(tcx: ty::ctxt, crate: &Crate) {
52
}
53
expr_again(_) => {
54
if !cx.in_loop {
55
- tcx.sess.span_err(e.span, "`again` outside of loop");
+ tcx.sess.span_err(e.span, "`loop` outside of loop");
56
57
58
expr_ret(oe) => {
0 commit comments