summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_rules.rs
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-34/+28
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-1/+1
2024-08-07refactor(rustc_expand::mbe): Don't require full ExtCtxt when not necessaryFelix Rath-1/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-16/+17
2024-07-02Shrink parser positions from `usize` to `u32`.Nicholas Nethercote-2/+2
2024-06-23Rework pattern and expression nonterminal kinds.Nicholas Nethercote-10/+10
2024-06-23Tweak some ugly formatting.Nicholas Nethercote-1/+4
2024-06-19Allow naming expr_2021 in all editionsMichael Goulet-1/+3
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-1/+1
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-1/+1
2024-05-27Rollup merge of #125530 - SparrowLii:expand2, r=petrochenkovGuillaume Gomez-1/+2
2024-05-25cleanup dependence of `ExtCtxt` in transcribe when macro expansionSparrowLii-1/+2
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-2/+2
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-2/+0
2024-05-18Auto merge of #125180 - mu001999-contrib:improve/macro-diag, r=fee1-deadbors-6/+9
2024-05-18Improve error message: missing `;` in macro_rulesr0cky-6/+9
2024-05-13Add expr_2021 nonterminal and feature flagEric Holk-1/+1
2024-05-03Fix some comment formatting.Nicholas Nethercote-5/+6
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-03-21Streamline `NamedMatch`.Nicholas Nethercote-4/+4
2024-03-13delay expand macro bang when there has indeterminate pathbohan-7/+7
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-3/+3
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-17/+17
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-66/+66
2024-02-20Add newtype for raw identsclubby789-4/+10
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-1/+1
2024-01-25Stop checking `err_count` in macro_rules validity checkingOli Scherer-15/+24
2024-01-17Improved collapse_debuginfo attribute, added command-line flag (no|external|yes)Andrew Zhogin-0/+1
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-20/+20
2024-01-10Shorten some error invocations.Nicholas Nethercote-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2024-01-04macro_rules: Less hacky heuristic for using `tt` metavariable spansVadim Petrochenkov-33/+2
2023-12-24Remove `ExtCtxt` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
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