summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe
AgeCommit message (Expand)AuthorLines
2023-10-13Format all the let chains in compilerMichael Goulet-19/+19
2023-08-18Auto merge of #114915 - nnethercote:Nonterminal-cleanups, r=petrochenkovbors-8/+7
2023-08-18Rename `NtOrTt` as `ParseNtResult`.Nicholas Nethercote-3/+3
2023-08-17[RFC-3086] Restrict the parsing of `count`Caio-1/+11
2023-08-17Remove unnecessary braces on `PatWithOr` patterns.Nicholas Nethercote-1/+1
2023-08-17Remove some unnecessary (and badly named) local variables.Nicholas Nethercote-4/+3
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-2/+5
2023-08-01Auto merge of #114273 - nnethercote:move-doc-comment-desugaring, r=petrochenkovbors-12/+16
2023-07-31Remove `desugar_doc_comments` arg from `Parser::new()`.Nicholas Nethercote-4/+9
2023-07-31No need to desugar doc comments when parsing decl macro definitions.Nicholas Nethercote-1/+1
2023-07-31Reflow an overlong comment.Nicholas Nethercote-2/+2
2023-07-31Remove more unnecessary `return` keywords.Nicholas Nethercote-6/+5
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-16/+15
2023-07-27Avoid some token tree cloning in decl macro parsing.Nicholas Nethercote-23/+23
2023-07-19Make it clearer that edition functions are >=, not ==Michael Goulet-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-12/+10
2023-07-03perform TokenStream replacement in-place when possible in expand_macroThe 8472-2/+1
2023-06-21Fix msg passed to span_bugRaminder Singh-1/+1
2023-06-16Add `SyntaxContext::is_root`Maybe Waffle-2/+2
2023-06-07feat(expand): emit note for doc comment in macro matcherbohan-11/+35
2023-06-06fix(expand): prevent infinity loop in macro containing only "///"bohan-0/+2
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-5/+5
2023-05-16Avoid `&format("...")` calls in error message code.Nicholas Nethercote-7/+12
2023-05-04Auto merge of #111014 - klensy:no-rc, r=WaffleLapkinbors-11/+12
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-13/+13
2023-05-01Rip it outNilstrieb-2/+1
2023-04-30Lrc -> Rcklensy-11/+12
2023-04-25Fix static string lintsclubby789-4/+2
2023-04-17Spelling - compilerJosh Soref-2/+2
2023-04-12compiler: print the suggestion only for local macrosLena Milizé-2/+5
2023-04-12compiler: improve captured metavariables diagnosticLena Milizé-1/+3
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-03-17Suggest surrounding the macro with `{}` to interpret as a statementMu42-6/+18
2023-03-15unequal → not equalgimbles-1/+1
2023-03-10Add note when matching token with nonterminalNilstrieb-3/+9
2023-03-03Match end user facing unmatched backticks in compiler/est31-1/+1
2023-02-20Remove a redundant function argumentOli Scherer-4/+2
2023-02-03Rename `Cursor`/`CursorRef` as `TokenTreeCursor`/`RefTokenTreeCursor`.Nicholas Nethercote-6/+6
2023-01-30Replace some `_ == _ || _ == _`s with `matches!(_, _ | _)`sMaybe Waffle-1/+1
2023-01-20preserve delim spans during `macro_rules!` expansion if ableLukas Markeffsky-6/+18
2023-01-20Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstriebbors-44/+42
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-2/+2
2023-01-17`rustc_expand`: remove `ref` patternsMaybe Waffle-44/+42
2023-01-05Shrink `ParseResult` in the hot path.Nilstrieb-30/+81
2023-01-01Merge multiple mutable borrows of immutable binding errorsEsteban Küber-2/+2
2022-12-28Rollup merge of #105570 - Nilstrieb:actual-best-failure, r=compiler-errorsMatthias Krüger-15/+44
2022-12-25fix more clippy::style findingsMatthias Krüger-5/+1
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-18don't restuct references just to reborrowMatthias Krüger-3/+3
2022-12-12Properly calculate best failure in macro matchingNilstrieb-15/+44