From c327835a44d8d6b499f760fdd03112457bf23005 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 4 Aug 2013 18:21:29 -0400 Subject: [PATCH] fix warning still mentioning the `again` keyword --- src/librustc/middle/check_loop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/middle/check_loop.rs b/src/librustc/middle/check_loop.rs index fb12f97c50cb0..cbd1d3cd9ad81 100644 --- a/src/librustc/middle/check_loop.rs +++ b/src/librustc/middle/check_loop.rs @@ -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) => {