about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/mbe/macro_parser.rs
AgeCommit message (Expand)AuthorLines
2025-09-02Remove special implementation of `PartialEq` for `InvisibleOrigin` outside ma...Jakub Beránek-2/+18
2025-07-25Stop compilation if macro expansion failedGuillaume Gomez-0/+1
2025-06-26Rewrite `macro_rules!` parser to not use the MBE engine itselfJosh Triplett-2/+0
2025-06-24mbe: Clean up code with non-optional `NonterminalKind`Trevor Gross-37/+16
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-2/+2
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-2/+2
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-10-30Rollup merge of #132332 - nnethercote:use-token_descr-more, r=estebankMatthias Krüger-3/+2
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-1/+1
2024-10-28Tweak more warnings.Nicholas Nethercote-3/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-06Add initial support for raw lifetimesMichael Goulet-2/+4
2024-08-27Add `warn(unreachable_pub)` to `rustc_expand`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+10
2024-07-02Shrink parser positions from `usize` to `u32`.Nicholas Nethercote-1/+1
2024-05-18Improve error message: missing `;` in macro_rulesr0cky-0/+3
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-8/+3
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-21Streamline `NamedMatch`.Nicholas Nethercote-11/+6
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-1/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-2/+2
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-2/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-2/+2
2023-08-18Rename `NtOrTt` as `ParseNtResult`.Nicholas Nethercote-3/+3
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-5/+5
2023-06-06fix(expand): prevent infinity loop in macro containing only "///"bohan-0/+1
2023-04-30Lrc -> Rcklensy-11/+12
2023-01-30Replace some `_ == _ || _ == _`s with `matches!(_, _ | _)`sMaybe Waffle-1/+1
2023-01-05Shrink `ParseResult` in the hot path.Nilstrieb-13/+13
2022-12-12Properly calculate best failure in macro matchingNilstrieb-2/+11
2022-11-14Show a note where a macro failed to matchNilstrieb-1/+47
2022-11-04Small style improvementsnils-2/+2
2022-11-02Factor out matching into `try_match_macro`Nilstrieb-1/+5
2022-11-02Add `Tracker` to track matching operationsNilstrieb-13/+19
2022-11-02Small parser cleanupsNilstrieb-5/+5
2022-11-02Store `ErrorGuaranteed` in `ErrorReported`Nilstrieb-3/+4
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-06-08Fix typo: fo->forChayim Refael Friedman-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-5/+5
2022-05-13Use pluralize in one instanceest31-2/+2
2022-05-02fix most compiler/ doctestsElliot Roberts-1/+2
2022-04-16Rollup merge of #96023 - matthiaskrgr:clippyper1304, r=lcnrDylan DPC-1/+1
2022-04-14remove function param that is only used in recursive of fn inner()Matthias Krüger-6/+4
2022-04-14Introduce `TtHandle` and use it in `TokenSet`.Nicholas Nethercote-2/+5
2022-04-13couple of clippy::perf fixesMatthias Krüger-1/+1
2022-04-11Add a useful comment.Nicholas Nethercote-0/+4
2022-04-11Tweak `NamedMatch` representation.Nicholas Nethercote-27/+7
2022-04-09expand: Remove `ParseSess::missing_fragment_specifiers`Vadim Petrochenkov-12/+6