about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/token.rs
AgeCommit message (Expand)AuthorLines
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
2023-08-02Fix an erroneous comment.Nicholas Nethercote-2/+0
2023-07-27Optimize `TokenKind::clone`.Nicholas Nethercote-1/+16
2023-07-12Flip cfg's for bootstrap bumpMark Rousskov-1/+1
2023-05-27Add warn-by-default lint for local binding shadowing exported glob re-export ...许杰友 Jieyou Xu (Joe)-0/+1
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-02initial step towards implementing C string literalsDeadbeef-0/+7
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-7/+7
2022-12-16Little fixesDeep Majumder-1/+1
2022-12-14Allow .. to be parsed as let initializerDeep Majumder-0/+4
2022-12-13remove unnecessary uses of `clone`Takayuki Maeda-1/+1
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-10/+10
2022-11-21Remove `ref` patterns from `rustc_ast`Maybe Waffle-3/+5
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-8/+42
2022-11-11Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebankbors-0/+10
2022-10-12Use `tidy-alphabetical` in the compilerNilstrieb-1/+2
2022-10-03Rewrite `Token::is_op`.Nicholas Nethercote-11/+8
2022-10-01Replace some `bool` params with an enumMaybe Waffle-3/+4
2022-10-01Recover wrong cased keywords starting functionsMaybe Waffle-0/+9
2022-09-30Rollup merge of #102493 - nnethercote:improve-size-assertions-some-more, r=lqdMatthias Krüger-8/+13
2022-10-01Group together more size assertions.Nicholas Nethercote-8/+13
2022-09-29Inline `<Token as PartialEq<TokenKind>>::eq`.Nicholas Nethercote-0/+1
2022-09-26Remove `ast::Token::take`.Nicholas Nethercote-6/+1
2022-09-11fix #101626, suggest pub instead of public for const type itemyukang-0/+1
2022-09-03Suggest removing unnecessary prefix let in patternsMichael Goulet-0/+24
2022-08-15suggest adding a missing semicolon before an itemTakayuki Maeda-0/+24
2022-06-02Revert #96682.Nicholas Nethercote-3/+2
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-05Rollup merge of #96682 - nnethercote:show-invisible-delims, r=petrochenkovMatthias Krüger-2/+3
2022-05-04Auto merge of #96546 - nnethercote:overhaul-MacArgs, r=petrochenkovbors-0/+9
2022-05-05Add a comment on `TokenKind::Interpolated`.Nicholas Nethercote-0/+9
2022-05-04Show invisible delimeters (within comments) when pretty printing.Nicholas Nethercote-2/+3
2022-05-04Remove unnecessary `NtIdent` in `Token::is_whole_expr`.Nicholas Nethercote-1/+1
2022-05-04Speed up `Token::{ident,lifetime}`.Nicholas Nethercote-6/+16
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-18/+25
2022-04-15Rollup merge of #94461 - jhpratt:2024-edition, r=pnkfelixDylan DPC-1/+1
2022-04-07Shrink `Nonterminal`.Nicholas Nethercote-4/+4