summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_rules.rs
AgeCommit message (Expand)AuthorLines
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
2022-10-23Migrate all diagnosticsNilstrieb-2/+2
2022-10-18Fix the bug of next_point in spanyukang-1/+1
2022-10-11fix #102878Takayuki Maeda-8/+11
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-1/+1
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