Skip to content

Commit

Permalink
auto merge of #8292 : thestinger/rust/fix_loop_warning, r=brson
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Aug 5, 2013
2 parents d89ff7e + c327835 commit 2d1eb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/middle/check_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 2d1eb19

Please sign in to comment.