Searched defs:MatcherLoc (Results 1 – 3 of 3) sorted by relevance
| /third_party/rust/rust/compiler/rustc_expand/src/mbe/ |
| D | macro_parser.rs | 103 pub(crate) enum MatcherLoc { enum 135 impl MatcherLoc { impl 150 impl Display for MatcherLoc { implementation 175 pub(super) fn compute_locs(matcher: &[TokenTree]) -> Vec<MatcherLoc> { in compute_locs() 178 locs: &mut Vec<MatcherLoc>, in compute_locs() 459 matcher: &'matcher [MatcherLoc], in parse_tt_inner() 618 matcher: &'matcher [MatcherLoc], in parse_tt() 718 matcher: &[MatcherLoc], in ambiguity_error() 748 matcher: &[MatcherLoc], in nameize()
|
| D | diagnostics.rs | 25 lhses: &[Vec<MatcherLoc>], in failed_to_match_macro() 134 fn before_match_loc(&mut self, parser: &TtParser, matcher: &'matcher MatcherLoc) { in before_match_loc()
|
| D | macro_rules.rs | 152 fn before_match_loc(&mut self, _parser: &TtParser, _matcher: &'matcher MatcherLoc) {} in before_match_loc() 190 lhses: &[Vec<MatcherLoc>], in expand_macro() 300 lhses: &'matcher [Vec<MatcherLoc>], in try_match_macro()
|