Improve error for self: Box<self>
This commit is contained in:
parent
4d941cd981
commit
3851a4bb91
9 changed files with 63 additions and 25 deletions
|
@ -199,6 +199,10 @@ resolve_invalid_asm_sym =
|
|||
.label = is a local variable
|
||||
.help = `sym` operands must refer to either a function or a static
|
||||
|
||||
resolve_lowercase_self =
|
||||
attempt to use a non-constant value in a constant
|
||||
.suggestion = try using `Self`
|
||||
|
||||
resolve_trait_impl_duplicate =
|
||||
duplicate definitions with name `{$name}`:
|
||||
.label = duplicate definition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue