1 2 3 4 5 6
enum TestEnum { Works, /// Some documentation Self, //~ ERROR expected identifier, found keyword `Self` //~^ HELP enum variants can be }