about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/token.rs
AgeCommit message (Expand)AuthorLines
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
2024-04-18Auto merge of #124008 - nnethercote:simpler-static_assert_size, r=Nilstriebbors-1/+1
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-16Fix empty-set symbol in commentsDavid Tolnay-1/+1
2024-04-16Rollup merge of #123462 - fmease:rn-mod-sep-to-path-sep, r=nnethercoteLeón Orell Valerian Liehr-9/+11
2024-04-04Rename ModSep to PathSepLeón Orell Valerian Liehr-9/+11
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-21Fix out-of-date comment.Nicholas Nethercote-1/+1
2024-03-21Rename `Token::is_path`.Nicholas Nethercote-2/+2
2024-03-20resolve clippy errorsonur-ozkan-0/+1
2024-02-20Add newtype for raw identsclubby789-10/+28
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-6/+6
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-9/+0
2023-12-10remove redundant importssurechen-1/+1
2023-11-27Detect Python-like slicing and suggest how to fixHirochika Matsumoto-0/+5
2023-11-17Auto merge of #114292 - estebank:issue-71039, r=b-naberbors-18/+35
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-18/+35
2023-11-14Detect more `=>` typosEsteban Küber-1/+2
2023-11-13Fix commentSleep_AllDay-2/+2
2023-10-26Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 editionOli Scherer-0/+1
2023-10-15Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstriebbors-6/+8
2023-10-14Rollup merge of #116696 - c410-f3r:in-doc, r=petrochenkovMatthias Krüger-0/+27
2023-10-13Misc improvementsCaio-0/+27
2023-10-13Format all the let chains in compilerMichael Goulet-6/+8
2023-10-12Rename `Token::is_op` as `Token::is_punct`.Nicholas Nethercote-1/+1
2023-10-04Fix misuses of a vs ancui fliter-1/+1
2023-08-24Parse unnamed fields and anonymous structs or unionsFrank King-0/+2