about summary refs log tree commit diff
path: root/compiler/rustc_expand
AgeCommit message (Expand)AuthorLines
2022-04-04A new matcher representation for use in `parse_tt`.Nicholas Nethercote-334/+289
2022-04-02Create 2024 editionJacob Pratt-1/+1
2022-04-02Auto merge of #95509 - nnethercote:simplify-MatcherPos-some-more, r=petrochenkovbors-95/+120
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/+74
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-30Auto merge of #95425 - nnethercote:yet-more-parse_tt-improvements, r=petroche...bors-231/+249
2022-03-30Spellchecking some commentsYuri Astrakhan-4/+4
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-14/+14
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
2022-03-28Rollup merge of #95301 - nnethercote:rm-NtTT, r=petrochenkovDylan DPC-31/+27
2022-03-28Ignore doc comments in a declarative macro matcher.Nicholas Nethercote-7/+8
2022-03-28Remove `Nonterminal::NtTT`.Nicholas Nethercote-31/+27
2022-03-27Rollup merge of #95335 - Badel2:resolve-path, r=Dylan-DPCDylan DPC-37/+2
2022-03-26Use str and char's Debug impl to format literalsDavid Tolnay-8/+8
2022-03-26Move resolve_path to rustc_builtin_macros and make it privateBadel2-37/+2
2022-03-26proc-macro: Stop wrapping `ident` matchers into groupsVadim Petrochenkov-106/+4
2022-03-26Auto merge of #95149 - cjgillot:once-diag, r=estebankbors-2/+2
2022-03-25Shrink `MatcherPosRepetition`.Nicholas Nethercote-15/+13
2022-03-25Shrink `NamedMatchVec` to one inline element.Nicholas Nethercote-2/+5
2022-03-25Split `NamedMatch::MatchNonterminal` in two.Nicholas Nethercote-71/+81
2022-03-23Add a size assertion for `NamedMatchVec`.Nicholas Nethercote-0/+4
2022-03-22Auto merge of #95159 - nnethercote:TtParser, r=petrochenkovbors-511/+421
2022-03-23Eliminate `TokenTreeOrTokenTreeSlice`.Nicholas Nethercote-173/+146
2022-03-21Fix generated tokens hygieneCaio-4/+10
2022-03-21Move items into `TtParser` as `Vec`s.Nicholas Nethercote-58/+43
2022-03-21Remove `MatcherPosHandle`.Nicholas Nethercote-88/+23
2022-03-20Take &mut Diagnostic in emit_diagnostic.Camille GILLOT-2/+2
2022-03-19Remove an impossible code path.Nicholas Nethercote-5/+6
2022-03-19Add `TtParser::macro_name`.Nicholas Nethercote-38/+35
2022-03-19Rename `bb_items_ambiguity_error` as `ambiguity_error`.Nicholas Nethercote-2/+2
2022-03-19Introduce `TtParser`.Nicholas Nethercote-304/+323
2022-03-18Auto merge of #95067 - nnethercote:parse_tt-more-refactoring, r=petrochenkovbors-142/+124
2022-03-18Rename `TtSeq` as `TtSlice`.Nicholas Nethercote-10/+10
2022-03-18Tweak a bunch of comments.Nicholas Nethercote-62/+36
2022-03-18Reorder cases in `parse_tt_inner`.Nicholas Nethercote-61/+55
2022-03-18Only modify `eof_items` if `token == Eof`.Nicholas Nethercote-4/+7
2022-03-18Factor out some code into `MatcherPos::repetition`.Nicholas Nethercote-28/+37
2022-03-18Add two useful assertions.Nicholas Nethercote-0/+2
2022-03-16rustc_error: make ErrorReported impossible to constructmark-8/+8