Fix tidy warning
This commit is contained in:
parent
cdedad530f
commit
d3af9a38ed
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user