1 #### Note: this error code is no longer emitted by the compiler.
3 The `pub` keyword was used inside a public enum.
5 Erroneous code example:
9 pub Bar, // error: unnecessary `pub` visibility
13 Since the enum is already public, adding `pub` on one its elements is
22 This is the correct syntax: