Skip to content

Commit

Permalink
fix warning still mentioning the again keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Aug 4, 2013
1 parent 3d14470 commit c327835
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

5 comments on commit c327835

@bors
Copy link
Contributor

@bors bors commented on c327835 Aug 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on c327835 Aug 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging thestinger/rust/fix_loop_warning = c327835 into auto

@bors
Copy link
Contributor

@bors bors commented on c327835 Aug 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thestinger/rust/fix_loop_warning = c327835 merged ok, testing candidate = 2d1eb19

@bors
Copy link
Contributor

@bors bors commented on c327835 Aug 5, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 2d1eb19

Please sign in to comment.