Allow all associated functions and add test
This commit is contained in:
parent
b59ec166ad
commit
dda89945b7
4 changed files with 38 additions and 11 deletions
|
@ -1355,8 +1355,8 @@ pub enum AttrApplication {
|
|||
#[label]
|
||||
span: Span,
|
||||
},
|
||||
#[diag(passes_attr_application_struct_enum_function_inherent_method_union, code = "E0517")]
|
||||
StructEnumFunctionInherentMethodUnion {
|
||||
#[diag(passes_attr_application_struct_enum_function_method_union, code = "E0517")]
|
||||
StructEnumFunctionMethodUnion {
|
||||
#[primary_span]
|
||||
hint_span: Span,
|
||||
#[label]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue