summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2022-05-13Use pluralize in one instanceest31-2/+2
2022-05-13Improve name and documentation of generic_extensionest31-3/+4
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-12/+28
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-5/+6
2022-05-05Implement the unused_macro_rules lintest31-12/+28
2022-05-04Fix spelling of an identifier.Nicholas Nethercote-4/+4
2022-05-02fix most compiler/ doctestsElliot Roberts-5/+6
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-32/+23
2022-04-27Avoid producing `NoDelim` values in `Frame`.Nicholas Nethercote-11/+11
2022-04-16Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnrDylan DPC-1/+1
2022-04-15Rollup merge of #96027 - matthiaskrgr:clippy_rec, r=fee1-deadDylan DPC-27/+13
2022-04-15Rollup merge of #96026 - matthiaskrgr:clippy_compl_1304, r=Dylan-DPCDylan DPC-1/+1
2022-04-15Rollup merge of #94461 - jhpratt:2024-edition, r=pnkfelixDylan DPC-1/+1
2022-04-14remove reudndant function param in check_matcher_core()Matthias Krüger-19/+7
2022-04-14remove function param that is only used in recursive of fn inner()Matthias Krüger-8/+6
2022-04-14`mbe::TokenTree`: remove `Lrc` around `Delimited` and `SequenceRepetition`.Nicholas Nethercote-15/+7
2022-04-14Introduce `TtHandle` and use it in `TokenSet`.Nicholas Nethercote-41/+111
2022-04-13couple of clippy::complexity fixesMatthias Krüger-1/+1
2022-04-13couple of clippy::perf fixesMatthias Krüger-1/+1
2022-04-13Pass a slice instead of a `Vec` to `transcribe`.Nicholas Nethercote-3/+3
2022-04-13Avoid use of `Lrc` in `mbe::Frame`.Nicholas Nethercote-29/+38
2022-04-11Add a useful comment.Nicholas Nethercote-0/+4
2022-04-11Tweak `NamedMatch` representation.Nicholas Nethercote-27/+7
2022-04-11Change internal naming of macros.Nicholas Nethercote-1/+2
2022-04-09expand: Remove `ParseSess::missing_fragment_specifiers`Vadim Petrochenkov-20/+21
2022-04-09Rollup merge of #95797 - nnethercote:rm-Delimited-all_tts, r=petrochenkovDylan DPC-62/+48
2022-04-09Remove explicit delimiter token trees from `Delimited`.Nicholas Nethercote-62/+48
2022-04-07Use gender neutral termsJames 'zofrex' Sanderson-1/+1
2022-04-06Auto merge of #95669 - nnethercote:call-compute_locs-once-per-rule, r=petroch...bors-149/+169
2022-04-06Call `compute_locs` once per rule.Nicholas Nethercote-114/+123
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-05errors: implement fallback diagnostic translationDavid Wood-9/+11
2022-04-05span: move `MultiSpan`David Wood-1/+2
2022-04-05errors: introduce `DiagnosticMessage`David Wood-4/+5
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-02Create 2024 editionJacob Pratt-1/+1
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-15/+10
2022-03-31Make `MatcherPos` not derive `Clone`.Nicholas Nethercote-8/+24
2022-03-31Remove `MatcherPos::stack`.Nicholas Nethercote-62/+73
2022-03-31Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errorsDylan DPC-2/+2
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-30Spellchecking compiler commentsYuri Astrakhan-2/+2
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