about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/token.rs
AgeCommit message (Expand)AuthorLines
2025-09-02Remove special implementation of `PartialEq` for `InvisibleOrigin` outside ma...Jakub Beránek-17/+3
2025-08-22print raw lifetime idents with `r#`Deadbeef-6/+16
2025-06-26Add Ident::is_non_reserved_identMichael Goulet-1/+5
2025-06-24mbe: Clean up code with non-optional `NonterminalKind`Trevor Gross-0/+1
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-28/+103
2025-04-02Remove `TokenStream::flattened` and `InvisibleOrigin::FlattenToken`.Nicholas Nethercote-7/+1
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-2/+2
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-111/+16
2025-04-02Remove `Token::uninterpolated_span`.Nicholas Nethercote-21/+6
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-48/+23
2025-03-24Remove `is_any_keyword` methods.Nicholas Nethercote-5/+0
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-8/+1
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-7/+7
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-123/+167
2025-02-28Remove `NtPath`.Nicholas Nethercote-24/+6
2025-02-28Remove `NtMeta`.Nicholas Nethercote-9/+6
2025-02-28Remove `NtPat`.Nicholas Nethercote-5/+0
2025-02-21Avoid snapshotting the parser in `parse_path_inner`.Nicholas Nethercote-4/+6
2025-02-21Remove `NtTy`.Nicholas Nethercote-6/+1
2025-02-21Remove `NtVis`.Nicholas Nethercote-4/+9
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-3/+3
2025-01-23simplify similar_tokens from Vec<_> to &[_]Marijn Schouten-6/+6
2025-01-23simplify similar_tokens from Option<Vec<_>> to Vec<_>Marijn Schouten-7/+7
2025-01-11Remove allocations from case-insensitive comparison to keywordsMark Rousskov-1/+2
2024-12-18Only have one source of truth for keywords.Nicholas Nethercote-1/+7
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-3/+2
2024-11-21Prepare for invisible delimiters.Nicholas Nethercote-2/+36
2024-11-21Introduce `InvisibleOrigin` on invisible delimiters.Nicholas Nethercote-6/+108
2024-10-28fix clippy::clone_on_ref_ptr for compilerklensy-1/+1
2024-09-23Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkovJubilee-29/+35
2024-09-23Fix `break_last_token`.Nicholas Nethercote-29/+35
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-8/+8
2024-09-06Add initial support for raw lifetimesMichael Goulet-8/+10
2024-08-26Don't make pattern nonterminals match statement nonterminalsMichael Goulet-21/+36
2024-07-29Reformat `use` declarations.Nicholas Nethercote-12/+14
2024-07-16Remove references to `maybe_whole_expr`.Nicholas Nethercote-2/+1
2024-06-23Rework pattern and expression nonterminal kinds.Nicholas Nethercote-29/+44
2024-06-21Rollup merge of #126700 - compiler-errors:fragment, r=fmeaseMatthias Krüger-5/+14
2024-06-20Introduce `can_begin_string_literal`.Nicholas Nethercote-0/+15
2024-06-20Inline `can_begin_literal_maybe_minus` call into two places.Nicholas Nethercote-2/+3
2024-06-19Allow naming expr_2021 in all editionsMichael Goulet-5/+14
2024-06-04Handle safety keyword for extern block inner itemsSantiago Pastorino-0/+2
2024-05-17Auto merge of #123865 - eholk:expr_2021, r=fmeasebors-0/+4
2024-05-14Remove `NtIdent` and `NtLifetime`.Nicholas Nethercote-45/+32
2024-05-13Apply code review suggestionsEric Holk-1/+1
2024-05-13expr_2021 should be allowed on edition 2021 and laterEric Holk-1/+1
2024-05-13Add expr_2021 nonterminal and feature flagEric Holk-0/+4
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-14/+19
2024-05-06Return coherent description for boolean instead of panickingUrgau-1/+1
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-1/+1