diff --git a/src/librustc_resolve/lib.rs b/src/librustc_resolve/lib.rs index a7a503f6f2f..ed854f640ec 100644 --- a/src/librustc_resolve/lib.rs +++ b/src/librustc_resolve/lib.rs @@ -412,7 +412,8 @@ fn resolve_struct_error<'b, 'a: 'b, 'c>(resolver: &'b Resolver<'a>, struct_span_err!(resolver.session, span, E0432, "{}", msg) } ResolutionError::FailedToResolve(msg) => { - let mut err = struct_span_err!(resolver.session, span, E0433, "failed to resolve. {}", msg); + let mut err = struct_span_err!(resolver.session, span, E0433, + "failed to resolve. {}", msg); err.span_label(span, &msg); err }