about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/attr_wrapper.rs
AgeCommit message (Expand)AuthorLines
2024-07-19Move `inner_attr` code downwards.Nicholas Nethercote-10/+10
2024-07-19Remove `final_attrs` local variable.Nicholas Nethercote-4/+2
2024-07-19Simplify `CaptureState::inner_attr_ranges`.Nicholas Nethercote-1/+1
2024-07-18Remove `TrailingToken`.Nicholas Nethercote-22/+10
2024-07-13Rollup merge of #127558 - nnethercote:more-Attribute-cleanups, r=petrochenkovJubilee-64/+47
2024-07-10Change empty replace range condition.Nicholas Nethercote-15/+16
2024-07-09Move `Spacing` into `FlatToken`.Nicholas Nethercote-16/+12
2024-07-08Split the stack in `make_attr_token_stream`.Nicholas Nethercote-26/+17
2024-07-08Use iterator normally in `make_attr_token_stream`.Nicholas Nethercote-4/+2
2024-07-08Use an `@` pattern to shorten some code.Nicholas Nethercote-6/+3
2024-07-08Clear `inner_attr_ranges` regularly.Nicholas Nethercote-8/+3
2024-07-07Remove `Clone` derive from `LazyAttrTokenStreamImpl`.Nicholas Nethercote-1/+0
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-15/+14
2024-07-07Simplify `ReplaceRange`.Nicholas Nethercote-21/+18
2024-07-05Remove some unnecessary integer conversions.Nicholas Nethercote-3/+1
2024-07-02Import `std::{iter,mem}`.Nicholas Nethercote-11/+10
2024-07-02Rename `make_token_stream`.Nicholas Nethercote-6/+6
2024-07-02Shrink parser positions from `usize` to `u32`.Nicholas Nethercote-12/+9
2024-07-02Move more things around in `collect_tokens_trailing_token`.Nicholas Nethercote-23/+18
2024-07-02Move things around in `collect_tokens_trailing_token`.Nicholas Nethercote-7/+7
2024-07-02Flip an if/else in `AttrTokenStream::to_attr_token_stream`.Nicholas Nethercote-3/+3
2024-07-02Fix comment.Nicholas Nethercote-3/+3
2024-07-02Fix a typo in a comment.Nicholas Nethercote-1/+1
2024-06-19Auto merge of #126678 - nnethercote:fix-duplicated-attrs-on-nt-expr, r=petroc...bors-1/+5
2024-06-19Expand another comment.Nicholas Nethercote-1/+5
2024-06-18Prefer `dcx` methods over fields or fields' methodsOli Scherer-1/+1
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-1/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-1/+1
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+2
2023-12-18Rename `Parser::span_diagnostic` as `Parser::dcx`.Nicholas Nethercote-2/+1
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-1/+1
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-6/+8
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-2/+1
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2
2023-09-06Adjust `to_attr_token_stream`.Nicholas Nethercote-1/+1
2023-08-02Move `TokenCursor::break_last_token` into `Parser`.Nicholas Nethercote-7/+4
2023-08-02Move `TokenCursor::num_next_calls` into `Parser` and rename it.Nicholas Nethercote-7/+6
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-11/+6
2023-07-26Remove `desugar_doc_comments` arguments from `TokenCursor::{inlined_,}next`.Nicholas Nethercote-1/+1
2023-06-27Simplify some conditionsMaybe Waffle-5/+5
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