]> git.lizzy.rs Git - rust.git/commitdiff
fix warning still mentioning the `again` keyword
authorDaniel Micay <danielmicay@gmail.com>
Sun, 4 Aug 2013 22:21:29 +0000 (18:21 -0400)
committerDaniel Micay <danielmicay@gmail.com>
Sun, 4 Aug 2013 22:21:29 +0000 (18:21 -0400)
src/librustc/middle/check_loop.rs

index fb12f97c50cb0156e25425ee174e8565d5470f98..cbd1d3cd9ad81ee4cdf05c982ebb1d2827f06ea4 100644 (file)
@@ -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) => {