print proper error for hiding enumerator names of an anonymous enumeration, which means the names are inaccessible