about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/attr_wrapper.rs
AgeCommit message (Expand)AuthorLines
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-03-03Match unmatched backticks in comments in compiler/est31-2/+2
2023-02-03Remove `TokenCursorFrame`.Nicholas Nethercote-1/+1
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-1/+1
2022-11-13Add `delay_span_bug` to `AttrWrapper::take_for_recovery`Maybe Waffle-3/+9
2022-10-20fix assertion failed for break_last_token and trailing tokenyukang-5/+8
2022-10-12Use `tidy-alphabetical` in the compilerNilstrieb-1/+2
2022-10-01Group together more size assertions.Nicholas Nethercote-8/+10
2022-09-13Emit an error instead of reconstructing token stream.Camille GILLOT-30/+14
2022-09-13Manually cleanup token stream when macro expansion aborts.Camille GILLOT-15/+30
2022-09-09Rename `{Create,Lazy}TokenStream` as `{To,Lazy}AttrTokenStream`.Nicholas Nethercote-10/+10
2022-09-09Rename `AttrAnnotatedToken{Stream,Tree}`.Nicholas Nethercote-17/+16
2022-09-09Move `Spacing` out of `AttrAnnotatedTokenStream`.Nicholas Nethercote-8/+8
2022-09-03remove redundant clonesMatthias Krüger-1/+1
2022-09-01Auto merge of #100869 - nnethercote:replace-ThinVec, r=spastorinobors-1/+1
2022-08-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-1/+1
2022-08-28Auto merge of #100497 - kadiwa4:remove_clone_into_iter, r=cjgillotbors-4/+4
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-8/+9
2022-08-13avoid cloning and then iteratingKaDiWa-4/+4
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-2/+2
2022-04-29Remove hacks in `make_token_stream`.Nicholas Nethercote-38/+0
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-14/+14
2022-04-27Avoid producing `NoDelim` values in `FrameData`.Nicholas Nethercote-12/+15
2022-04-19Merge `TokenCursor::{next,next_desugared}`.Nicholas Nethercote-11/+6
2022-03-30Spellchecking some commentsYuri Astrakhan-4/+4
2022-03-22Split `TokenCursor::{next,next_desugared}` into inlined and non-inlined halves.Nicholas Nethercote-5/+6
2021-09-05Change more x64 size checks to not apply to x32.Harald van Dijk-1/+1
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-22Fix typos “a”→“an”Frank Steffahn-2/+2
2021-06-06parser: Ensure that all nonterminals have tokens after parsingVadim Petrochenkov-8/+2
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-111/+406
2021-03-26Always preserve `None`-delimited groups in a captured `TokenStream`Aaron Hill-10/+35
2021-03-06rustc_ast: Replace `AstLike::finalize_tokens` with a getter `tokens_mut`Vadim Petrochenkov-3/+7
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-2/+2
2021-02-13Address review commentsAaron Hill-0/+185