Improve error for self: Box<self>
This commit is contained in:
parent
4d941cd981
commit
3851a4bb91
9 changed files with 63 additions and 25 deletions
|
@ -251,6 +251,8 @@ enum ResolutionError<'a> {
|
|||
TraitImplDuplicate { name: Symbol, trait_item_span: Span, old_span: Span },
|
||||
/// Inline asm `sym` operand must refer to a `fn` or `static`.
|
||||
InvalidAsmSym,
|
||||
/// `self` used instead of `Self` in a generic parameter
|
||||
LowercaseSelf,
|
||||
}
|
||||
|
||||
enum VisResolutionError<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue