pub(crate) type NamedParseResult = ParseResult<FxHashMap<MacroRulesNormalizedIdent, NamedMatch>>;Expand description
A ParseResult where the Success variant contains a mapping of
MacroRulesNormalizedIdents to NamedMatches. This represents the mapping
of metavars to the token trees they bind to.
Aliased Type§
pub(crate) enum NamedParseResult {
Success(HashMap<MacroRulesNormalizedIdent, NamedMatch, FxBuildHasher>),
Failure,
Ambiguity,
ErrorReported(ErrorGuaranteed),
}Variants§
Success(HashMap<MacroRulesNormalizedIdent, NamedMatch, FxBuildHasher>)
Parsed successfully.
Failure
Arm failed to match.
Tracker::failure() will be called beforehand.
Ambiguity
The input could be parsed in multiple distinct ways.
Tracker::ambiguity() will be called beforehand.
ErrorReported(ErrorGuaranteed)
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.