about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/token.rs
AgeCommit message (Expand)AuthorLines
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
2022-04-02Create 2024 editionJacob Pratt-1/+1
2022-03-31Rollup merge of #95251 - GrishaVar:hashes-u16-to-u8, r=dtolnayDylan DPC-2/+2
2022-03-28Remove `Nonterminal::NtTT`.Nicholas Nethercote-5/+0
2022-03-23Update syntax tree definitionGrisha Vartanyan-2/+2
2022-02-262 - Make more use of let_chainsCaio-12/+8
2021-10-04Use `TokenKind::similar_tokens()`Fabian Wolff-0/+1
2021-09-04Fix formattingTheodore Luo Wang-1/+4
2021-09-04Use verbose suggestions and only match if the + is seen before a numeric literalTheodore Luo Wang-0/+4
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-04-27remove pat2021mark-10/+3
2021-04-15rename pat2015 to pat_parammark-7/+7
2021-03-22rename :pat2018 -> :pat215mark-7/+7
2021-03-15Extend `proc_macro_back_compat` lint to `procedural-masquerade`Aaron Hill-27/+0
2021-03-14Introduce `proc_macro_back_compat` lint, and emit for `time-macros-impl`Aaron Hill-49/+1
2021-03-06Change x64 size checks to not apply to x32.Harald van Dijk-2/+2
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-1/+1
2020-12-31Enable Pat2021 in edition 2021.Mara Bos-2/+1