Error code E0449
A visibility qualifier was used where one is not permitted. Visibility qualifiers are not permitted on enum variants, trait items, impl blocks, and extern blocks, as they already share the visibility of the parent item.
Erroneous code examples:
ⓘ
To fix this error, simply remove the visibility qualifier. Example: