Error code E0448
Note: this error code is no longer emitted by the compiler.
The pub
keyword was used inside a public enum.
Erroneous code example:
ⓘ
Since the enum is already public, adding pub
on one its elements is
unnecessary. Example:
ⓘ
This is the correct syntax: