Enum syntax::ext::tt::macro_parser::ParseResult
[−]
[src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Represents the possible results of an attempted parse.
Variants
Success(T)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Parsed successfully.
Failure(Span, Token)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fatal error (malformed macro?). Abort compilation.
Trait Implementations
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>