1
Fork 0

Allow all associated functions and add test

This commit is contained in:
Deadbeef 2023-04-16 06:30:45 +00:00
parent b59ec166ad
commit dda89945b7
4 changed files with 38 additions and 11 deletions

View file

@ -627,13 +627,9 @@ passes_attr_application_struct_enum_union =
attribute should be applied to a struct, enum, or union
.label = not a struct, enum, or union
passes_attr_application_struct_enum_function_union =
attribute should be applied to a struct, enum, function, or union
.label = not a struct, enum, function, or union
passes_attr_application_struct_enum_function_inherent_method_union =
attribute should be applied to a struct, enum, function, inherent method, or union
.label = not a struct, enum, function, inherent method, or union
passes_attr_application_struct_enum_function_method_union =
attribute should be applied to a struct, enum, function, associated function, or union
.label = not a struct, enum, function, associated function, or union
passes_transparent_incompatible =
transparent {$target} cannot have other repr hints