Skip to content

Commit

Permalink
Fix tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Turner committed Aug 11, 2016
1 parent cdedad5 commit d3af9a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc_resolve/lib.rs
Expand Up @@ -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
}
Expand Down

0 comments on commit d3af9a3

Please sign in to comment.