Skip to content

Commit db61375

Browse files
committed
Reformatting
1 parent c07b50a commit db61375

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

compiler/rustc_resolve/src/late.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,9 +2247,11 @@ impl<'a: 'ast, 'b, 'ast, 'tcx> LateResolutionVisitor<'a, 'b, 'ast, 'tcx> {
22472247
let report_error = |this: &Self, ns| {
22482248
if this.should_report_errs() {
22492249
let what = if ns == TypeNS { "type parameters" } else { "local variables" };
2250-
2251-
let err = ImportsCannotReferTo { span: ident.span, what };
2252-
this.r.tcx.sess.create_err(err).emit();
2250+
this.r
2251+
.tcx
2252+
.sess
2253+
.create_err(ImportsCannotReferTo { span: ident.span, what })
2254+
.emit();
22532255
}
22542256
};
22552257

0 commit comments

Comments
 (0)