Enum syntax::ext::tt::macro_parser::ParseResult [] [src]

pub enum ParseResult<T> {
    Success(T),
    Failure(SpanToken),
    Error(SpanString),
}
🔬 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

🔬 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.

🔬 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.

🔬 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> !Sync for ParseResult<T>