Skip to content

Commit dd7082e

Browse files
committed
r#type -> ty
1 parent a8d7ea7 commit dd7082e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/librustc_passes/loops.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ impl<'a, 'hir> CheckLoopVisitor<'a, 'hir> {
170170
}
171171

172172
fn require_break_cx(&self, name: &str, span: Span) {
173-
let err_inside_of = |article, r#type, closure_span| {
174-
struct_span_err!(self.sess, span, E0267, "`{}` inside of {} {}", name, article, r#type)
175-
.span_label(span, format!("cannot `{}` inside of {} {}", name, article, r#type))
176-
.span_label(closure_span, &format!("enclosing {}", r#type))
173+
let err_inside_of = |article, ty, closure_span| {
174+
struct_span_err!(self.sess, span, E0267, "`{}` inside of {} {}", name, article, ty)
175+
.span_label(span, format!("cannot `{}` inside of {} {}", name, article, ty))
176+
.span_label(closure_span, &format!("enclosing {}", ty))
177177
.emit();
178178
};
179179

0 commit comments

Comments
 (0)