Check if E0530 is tuple variant
or tuple struct
to emit suggestion
This commit is contained in:
parent
51504dbf01
commit
ea46e7a47e
3 changed files with 17 additions and 11 deletions
|
@ -234,7 +234,7 @@ enum ResolutionError<'a> {
|
|||
name: Symbol,
|
||||
participle: &'static str,
|
||||
article: &'static str,
|
||||
shadowed_binding_descr: &'static str,
|
||||
shadowed_binding: Res,
|
||||
shadowed_binding_span: Span,
|
||||
},
|
||||
/// Error E0128: generic parameters with a default cannot use forward-declared identifiers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue