auto merge of #8292 : thestinger/rust/fix_loop_warning, r=brson

This commit is contained in:
bors 2013-08-05 09:49:56 -07:00
commit 2d1eb1916e

View 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) => {