about summary refs log tree commit diff
path: root/compiler/rustc_expand
AgeCommit message (Expand)AuthorLines
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
2022-03-15Auto merge of #94584 - pnkfelix:inject-use-suggestion-sites, r=ekuberbors-11/+11
2022-03-14Fix remaining meta-variable expression TODOsCaio-9/+16
2022-03-12Rollup merge of #94833 - c410-f3r:meta-take-2, r=petrochenkovMatthias Krüger-10/+147
2022-03-11Implement macro meta-variable expressionCaio-10/+147
2022-03-11Move a `parse_tt` error case into a separate function.Nicholas Nethercote-24/+35
2022-03-11Make next_items a `SmallVec`.Nicholas Nethercote-3/+2
2022-03-11Move `eof_items` handling entirely within `inner_parse_loop`.Nicholas Nethercote-50/+40
2022-03-11Add a useful assertion.Nicholas Nethercote-0/+2
2022-03-11Disallow `TokenTree::{MetaVar,MetaVarExpr}` in matchers.Nicholas Nethercote-4/+5
2022-03-11Refactor the second half of `parse_tt`.Nicholas Nethercote-61/+68
2022-03-09Implement macro meta-variable expressionsCaio-43/+318
2022-03-04Auto merge of #94096 - cjgillot:ensure-stability, r=lcnrbors-0/+3
2022-03-03Associate multiple with a crate too.Felix S. Klock II-9/+9
2022-03-03refactor: prepare to associate multiple spans with a module.Felix S. Klock II-5/+5
2022-03-03Rollup merge of #94555 - cuishuang:master, r=oli-obkMatthias Krüger-2/+2
2022-03-03Rollup merge of #94554 - Urgau:stmt-node-id-ice, r=petrochenkovMatthias Krüger-2/+2
2022-03-03Rollup merge of #94547 - nnethercote:parse_tt-cleanups, r=petrochenkovMatthias Krüger-101/+115
2022-03-03Move the set of features to the `features` query.Camille GILLOT-0/+3
2022-03-03all: fix some typoscuishuang-2/+2
2022-03-03Fix invalid lint_node_id being put on a removed stmtLoïc BRANSTETT-2/+2
2022-03-03Change `initial_matcher_pos()` into `MatcherPos::new()`.Nicholas Nethercote-29/+29
2022-03-03Use a better return type for `inner_parse_loop`.Nicholas Nethercote-25/+35
2022-03-03Introduce `MatcherPosRepetition`.Nicholas Nethercote-23/+27
2022-03-03Add a static size assertion for `MatcherPos`.Nicholas Nethercote-0/+4
2022-03-03Improve if/else formatting in macro_parser.rs.Nicholas Nethercote-32/+28
2022-03-03Rollup merge of #94544 - mark-i-m:macro-comments, r=petrochenkovMatthias Krüger-0/+38
2022-03-02add some examples to comments in mbe codemark-0/+38