about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2022-03-03Rollup merge of #94555 - cuishuang:master, r=oli-obkMatthias Krüger-1/+1
2022-03-03Rollup merge of #94547 - nnethercote:parse_tt-cleanups, r=petrochenkovMatthias Krüger-101/+115
2022-03-03all: fix some typoscuishuang-1/+1
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
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-1/+1
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-1/+1
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-1/+1
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-6/+2
2022-02-03compiler: clippy::complexity fixesMatthias Krüger-1/+1
2021-12-09Remove redundant [..]sest31-7/+7
2021-12-04Rollup merge of #91385 - ecstatic-morse:pat-param-spec-suggest, r=estebankMatthias Krüger-0/+18
2021-11-30re-format with new rustfmtMark Rousskov-3/+1
2021-11-29Suggest the `pat_param` specifier before `|` on 2021 editionDylan MacKenzie-0/+18
2021-10-22Rollup merge of #89991 - petrochenkov:visitok2, r=jackh726Yuki Okushi-3/+1
2021-10-19Auto merge of #89933 - est31:let_else, r=michaelwoeristerbors-7/+3
2021-10-18rustc_ast: Turn `MutVisitor::token_visiting_enabled` into a constantVadim Petrochenkov-3/+1
2021-10-17rustc_span: `Ident::invalid` -> `Ident::empty`Vadim Petrochenkov-1/+1
2021-10-16Adopt let_else across the compilerest31-7/+3
2021-09-15chore(rustc_expand): fix typo in commentMichael Howell-1/+1
2021-08-29Auto merge of #88262 - klensy:pprust-cow, r=nagisabors-1/+1
2021-08-25Convert some functions to return Cow<'static,str> instead of String to reduce...klensy-1/+1
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-1/+1
2021-07-27Only emit lint for local macrosAaron Hill-7/+19
2021-07-24Display an extra note for trailing semicolon lint with trailing macroAaron Hill-3/+12
2021-07-17Compute a better `lint_node_id` during expansionAaron Hill-2/+1
2021-07-17Use LocalExpnId where possible.Camille GILLOT-3/+3
2021-07-06Change or_patterns_back_compat lint to rust_2021_incompatible_or_patternsRyan Levick-2/+4
2021-06-24Don't lint :pat when re-parsing a macro from another crate.Mara Bos-32/+34
2021-06-07Include macro name in 'local ambiguity' errorAaron Hill-5/+10
2021-05-29Use correct edition when parsing `:pat` matchersAaron Hill-5/+24
2021-04-28Auto merge of #83386 - mark-i-m:stabilize-pat2015, r=nikomatsakisbors-22/+7
2021-04-27remove pat2021mark-15/+3
2021-04-19fix few typosklensy-2/+2
2021-04-15rename pat2015 to pat_parammark-4/+4
2021-04-15stabilize :pat2015, leave :pat2021 gatedmark-13/+10
2021-04-02address commentshi-rustin-1/+1
2021-04-01add OR_PATTERNS_BACK_COMPAT linthi-rustin-3/+39
2021-03-26Use iter::zip in compiler/Josh Stone-1/+3
2021-03-22rename :pat2018 -> :pat215mark-3/+3
2021-01-28Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` lintAaron Hill-1/+13
2021-01-17Remove dead codeRyan Levick-29/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-5/+5
2020-12-30Implement edition-based macro pat featuremark-46/+62
2020-12-22Revert "Promote missing_fragment_specifier to hard error"Wesley Wiser-14/+32