Enum syntax::ext::tt::macro_parser::ParseResult [−][src]
Represents the possible results of an attempted parse.
Variants
Success(T)
Parsed successfully.
Failure(Span, Token)
Arm failed to match. If the second parameter is token::Eof
, it indicates an unexpected
end of macro invocation. Otherwise, it indicates that no rules expected the given token.
Error(Span, String)
Fatal error (malformed macro?). Abort compilation.
Auto Trait Implementations
impl<T> !Send for ParseResult<T>
impl<T> !Send for ParseResult<T>
impl<T> !Sync for ParseResult<T>
impl<T> !Sync for ParseResult<T>