Address nit
This commit is contained in:
parent
ecadd7e957
commit
6793cace06
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ fn resolve_struct_error<'b, 'a: 'b, 'c>(resolver: &'b Resolver<'a>,
|
|||
span,
|
||||
E0411,
|
||||
"use of `Self` outside of an impl or trait");
|
||||
err.span_label(span, &format!("Used outside of impl or trait"));
|
||||
err.span_label(span, &format!("used outside of impl or trait"));
|
||||
err
|
||||
}
|
||||
ResolutionError::UseOfUndeclared(kind, name, candidates) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue