about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_rules.rs
AgeCommit message (Expand)AuthorLines
2023-12-18Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.Nicholas Nethercote-3/+3
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-7/+7
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-9/+8
2023-12-17Rollup merge of #118928 - EliseZeroTwo:EliseZeroTwo/fix-issue-118786, r=cjgillotMatthias Krüger-0/+7
2023-12-13fix: Overlapping spans in delimited meta-varsEliseZeroTwo-0/+7
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-9/+9
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-10/+7
2023-12-02Rename `*note_without_error` as `*note`.Nicholas Nethercote-4/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-5/+5
2023-10-13Format all the let chains in compilerMichael Goulet-12/+12
2023-08-17Remove unnecessary braces on `PatWithOr` patterns.Nicholas Nethercote-1/+1
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-7/+6
2023-07-27Avoid some token tree cloning in decl macro parsing.Nicholas Nethercote-2/+2
2023-07-19Make it clearer that edition functions are >=, not ==Michael Goulet-1/+1
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-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/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-6/+6
2023-05-01Rip it outNilstrieb-2/+1
2023-04-17Spelling - compilerJosh Soref-2/+2
2023-02-20Remove a redundant function argumentOli Scherer-4/+2
2023-01-20preserve delim spans during `macro_rules!` expansion if ableLukas Markeffsky-6/+18
2023-01-17`rustc_expand`: remove `ref` patternsMaybe Waffle-22/+22
2023-01-05Shrink `ParseResult` in the hot path.Nilstrieb-15/+45
2022-12-28Rollup merge of #105570 - Nilstrieb:actual-best-failure, r=compiler-errorsMatthias Krüger-3/+3
2022-12-25fix more clippy::style findingsMatthias Krüger-5/+1
2022-12-18don't restuct references just to reborrowMatthias Krüger-1/+1
2022-12-12Properly calculate best failure in macro matchingNilstrieb-3/+3
2022-11-22Rollup merge of #104638 - Nilstrieb:macro-diagnostics, r=compiler-errorsManish Goregaokar-236/+9
2022-11-22Split `MacArgs` in two.Nicholas Nethercote-1/+1
2022-11-20Move macro_rules diagnostics to diagnostics moduleNilstrieb-236/+9
2022-11-19Cleanup macro matching recoveryNilstrieb-1/+0
2022-11-15Only do parser recovery on retried macro matchingNilstrieb-8/+27
2022-11-15Rollup merge of #103439 - Nilstrieb:help-me-with-my-macro, r=estebankMatthias Krüger-10/+29
2022-11-14Show a note where a macro failed to matchNilstrieb-10/+29
2022-11-13fix some typos in commentscui fliter-1/+1
2022-11-04Small style improvementsnils-10/+11
2022-11-02Add some debug logs to macro matchingNilstrieb-0/+8
2022-11-02Retry matching with tracking for diagnosticsNilstrieb-9/+109
2022-11-02Factor out matching into `try_match_macro`Nilstrieb-123/+124
2022-11-02Add `Tracker` to track matching operationsNilstrieb-3/+28
2022-11-02Store `ErrorGuaranteed` in `ErrorReported`Nilstrieb-2/+2
2022-10-25Add flag to forbid recovery in the parserNilstrieb-0/+1