Special case 'generic param from outer item' message for Self
This commit is contained in:
parent
511bf6e1c7
commit
2cfc81766c
8 changed files with 20 additions and 11 deletions
|
@ -46,6 +46,7 @@ pub(crate) struct GenericParamsFromOuterItem {
|
|||
pub(crate) sugg: Option<GenericParamsFromOuterItemSugg>,
|
||||
#[subdiagnostic]
|
||||
pub(crate) static_or_const: Option<GenericParamsFromOuterItemStaticOrConst>,
|
||||
pub(crate) is_self: bool,
|
||||
}
|
||||
|
||||
#[derive(Subdiagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue