提交 2d1eb191 编写于 作者: B bors

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

......@@ -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) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册