Fix tidy warning

This commit is contained in:
Jonathan Turner 2016-08-11 10:17:12 -07:00 committed by GitHub
parent cdedad530f
commit d3af9a38ed

View File

@ -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
}