about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_parser.rs
AgeCommit message (Expand)AuthorLines
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-2/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-2/+2
2023-08-18Rename `NtOrTt` as `ParseNtResult`.Nicholas Nethercote-3/+3
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-5/+5
2023-06-06fix(expand): prevent infinity loop in macro containing only "///"bohan-0/+1
2023-04-30Lrc -> Rcklensy-11/+12
2023-01-30Replace some `_ == _ || _ == _`s with `matches!(_, _ | _)`sMaybe Waffle-1/+1
2023-01-05Shrink `ParseResult` in the hot path.Nilstrieb-13/+13
2022-12-12Properly calculate best failure in macro matchingNilstrieb-2/+11
2022-11-14Show a note where a macro failed to matchNilstrieb-1/+47
2022-11-04Small style improvementsnils-2/+2
2022-11-02Factor out matching into `try_match_macro`Nilstrieb-1/+5
2022-11-02Add `Tracker` to track matching operationsNilstrieb-13/+19
2022-11-02Small parser cleanupsNilstrieb-5/+5
2022-11-02Store `ErrorGuaranteed` in `ErrorReported`Nilstrieb-3/+4
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-06-08Fix typo: fo->forChayim Refael Friedman-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-5/+5
2022-05-13Use pluralize in one instanceest31-2/+2
2022-05-02fix most compiler/ doctestsElliot Roberts-1/+2
2022-04-16Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnrDylan DPC-1/+1
2022-04-14remove function param that is only used in recursive of fn inner()Matthias Krüger-6/+4
2022-04-14Introduce `TtHandle` and use it in `TokenSet`.Nicholas Nethercote-2/+5
2022-04-13couple of clippy::perf fixesMatthias Krüger-1/+1
2022-04-11Add a useful comment.Nicholas Nethercote-0/+4
2022-04-11Tweak `NamedMatch` representation.Nicholas Nethercote-27/+7
2022-04-09expand: Remove `ParseSess::missing_fragment_specifiers`Vadim Petrochenkov-12/+6
2022-04-09Rollup merge of #95797 - nnethercote:rm-Delimited-all_tts, r=petrochenkovDylan DPC-3/+5
2022-04-09Remove explicit delimiter token trees from `Delimited`.Nicholas Nethercote-3/+5
2022-04-07Use gender neutral termsJames 'zofrex' Sanderson-1/+1
2022-04-06Call `compute_locs` once per rule.Nicholas Nethercote-97/+89
2022-04-05Move the missing fragment identifier checking.Nicholas Nethercote-47/+58
2022-04-05Remove the lifetime from `TtParser` and `MatcherLoc`.Nicholas Nethercote-14/+14
2022-04-04Reorder match arms in `parse_tt_inner`.Nicholas Nethercote-31/+31
2022-04-04A new matcher representation for use in `parse_tt`.Nicholas Nethercote-332/+289
2022-04-02Auto merge of #95509 - nnethercote:simplify-MatcherPos-some-more, r=petrochenkovbors-95/+119
2022-03-31expand: Do not count metavar declarations on RHS of `macro_rules`Vadim Petrochenkov-12/+6
2022-03-31Make `MatcherPos` not derive `Clone`.Nicholas Nethercote-8/+24
2022-03-31Remove `MatcherPos::stack`.Nicholas Nethercote-62/+73
2022-03-31Clarify `idx` handling in sequences.Nicholas Nethercote-9/+18
2022-03-31Remove `MatcherPos::match_lo`.Nicholas Nethercote-10/+4
2022-03-31Simplify exit of `Delimited` submatchers.Nicholas Nethercote-18/+12
2022-03-30Pre-allocate an empty `Lrc<NamedMatchVec>`.Nicholas Nethercote-8/+26
2022-03-30Overhaul how matches are recorded.Nicholas Nethercote-48/+55
2022-03-30Improve comments and rename many things for consistency.Nicholas Nethercote-198/+181
2022-03-30Clarify comments about doc comments in macros.Nicholas Nethercote-1/+6
2022-03-30Simplify and rename `count_names`.Nicholas Nethercote-13/+13
2022-03-29Add a useful assertion.Nicholas Nethercote-2/+7
2022-03-28Rollup merge of #95390 - nnethercote:allow-doc-comments-in-macros, r=petroche...Dylan DPC-7/+8