You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Self::CannotUseReservedKeywordAsATypeName(ty, span) => write!(f,"Parse Error: cannot use `{}` as a type name as it is reserved on line {} column {}", ty, span.0, span.1),
135
136
Self::CannotUseReservedKeywordAsAGoToLabel(ty, span) => write!(f,"Parse Error: cannot use `{}` as a goto label as it is reserved on line {} column {}", ty, span.0, span.1),
136
137
Self::CannotUseReservedKeywordAsAConstantName(ty, span) => write!(f,"Parse Error: cannot use `{}` as a constant name as it is reserved on line {} column {}", ty, span.0, span.1),
138
+
Self::EnumMayNotIncludesMagicMethod(ty, method, span) => write!(f,"Parse Error: Enum `{}` may not include magic method `{}` on line {} column {}", ty, method, span.0, span.1),
EnumMayNotIncludesMagicMethod("EnumWithSerialize", "__serialize", (4, 21)) -> Parse Error: Enum `EnumWithSerialize` may not include magic method `__serialize` on line 4 column 21
0 commit comments