summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_rules.rs
AgeCommit message (Expand)AuthorLines
2022-05-13Improve name and documentation of generic_extensionest31-3/+4
2022-05-05Implement the unused_macro_rules lintest31-12/+28
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-3/+3
2022-04-27Avoid producing `NoDelim` values in `Frame`.Nicholas Nethercote-5/+4
2022-04-15Rollup merge of #96027 - matthiaskrgr:clippy_rec, r=fee1-deadDylan DPC-21/+9
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-2/+2
2022-04-14`mbe::TokenTree`: remove `Lrc` around `Delimited` and `SequenceRepetition`.Nicholas Nethercote-5/+4
2022-04-14Introduce `TtHandle` and use it in `TokenSet`.Nicholas Nethercote-39/+106
2022-04-13Pass a slice instead of a `Vec` to `transcribe`.Nicholas Nethercote-2/+2
2022-04-11Change internal naming of macros.Nicholas Nethercote-1/+2
2022-04-09Remove explicit delimiter token trees from `Delimited`.Nicholas Nethercote-24/+20
2022-04-06Auto merge of #95669 - nnethercote:call-compute_locs-once-per-rule, r=petroch...bors-17/+34
2022-04-06Call `compute_locs` once per rule.Nicholas Nethercote-17/+34
2022-04-05errors: implement fallback diagnostic translationDavid Wood-2/+2
2022-04-05errors: introduce `DiagnosticMessage`David Wood-4/+5
2022-04-02Create 2024 editionJacob Pratt-1/+1
2022-03-28Remove `Nonterminal::NtTT`.Nicholas Nethercote-3/+3
2022-03-25Split `NamedMatch::MatchNonterminal` in two.Nicholas Nethercote-32/+28
2022-03-23Eliminate `TokenTreeOrTokenTreeSlice`.Nicholas Nethercote-42/+39
2022-03-21Move items into `TtParser` as `Vec`s.Nicholas Nethercote-2/+2
2022-03-19Add `TtParser::macro_name`.Nicholas Nethercote-28/+25
2022-03-19Introduce `TtParser`.Nicholas Nethercote-25/+29
2022-03-16rustc_error: make ErrorReported impossible to constructmark-3/+5
2022-03-09Implement macro meta-variable expressionsCaio-4/+16
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-5/+5
2021-11-29Suggest the `pat_param` specifier before `|` on 2021 editionDylan MacKenzie-0/+18
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-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-3/+3
2021-05-29Use correct edition when parsing `:pat` matchersAaron Hill-0/+2
2021-04-27remove pat2021mark-1/+1
2021-04-15rename pat2015 to pat_parammark-4/+4
2021-04-02address commentshi-rustin-1/+1
2021-04-01add OR_PATTERNS_BACK_COMPAT linthi-rustin-3/+39
2021-03-22rename :pat2018 -> :pat215mark-1/+1
2021-01-28Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` lintAaron Hill-1/+13
2021-01-17Remove dead codeRyan Levick-29/+1