Type Alias MacroExpanderResult

Source
pub type MacroExpanderResult<'cx> = ExpandResult<Box<dyn MacResult + 'cx>, ()>;

Aliased Type§

pub enum MacroExpanderResult<'cx> {
    Ready(Box<dyn MacResult + 'cx>),
    Retry(()),
}

Variants§

§

Ready(Box<dyn MacResult + 'cx>)

Expansion produced a result (possibly dummy).

§

Retry(())

Expansion could not produce a result and needs to be retried.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.