summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_rules.rs
AgeCommit message (Expand)AuthorLines
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-10Use &mut Diagnostic instead of &mut DiagnosticBuilder unless neededMichael Goulet-6/+2
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-2/+2
2022-07-16rustc_expand: Switch FxHashMap to FxIndexMap where iteration is usedNiklas Jonsson-2/+2
2022-07-10use subdiagnostic for messageMichael Goulet-2/+16
2022-07-10explain doc comments in macros a bitMichael Goulet-3/+21
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-2/+2
2022-06-12Auto merge of #98020 - TaKO8Ki:use-create-snapshot-for-diagnostic-in-rustc-ex...bors-1/+1
2022-06-12use `create_snapshot_for_diagnostic` instead of `clone`Takayuki Maeda-1/+1
2022-06-09Suppress the unused_macro_rules lint if malformed rules are encounteredest31-4/+6
2022-06-09Never regard macro rules with compile_error! invocations as unusedest31-2/+34
2022-05-29Remove unused lifetimes from expand_macroest31-3/+3
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-3/+3
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