about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/attr.rs
AgeCommit message (Expand)AuthorLines
2023-12-18Use `.into_diagnostic()` less.Nicholas Nethercote-3/+4
2023-12-18Rename `Parser::span_diagnostic` as `Parser::dcx`.Nicholas Nethercote-2/+2
2023-12-10remove redundant importssurechen-1/+0
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-2/+2
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-2/+2
2023-08-02Move `TokenCursor::num_next_calls` into `Parser` and rename it.Nicholas Nethercote-3/+3
2023-06-27Simplify some conditionsMaybe Waffle-10/+7
2023-04-16fix clippy::toplevel_ref_arg and ::manual_mapMatthias Krüger-3/+3
2023-02-22errors: generate typed identifiers in each crateDavid Wood-9/+10
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-2/+5
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-11-28Rename `NestedMetaItem::[Ll]iteral` as `NestedMetaItem::[Ll]it`.Nicholas Nethercote-1/+1
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-4/+5
2022-11-22`rustc_parse`: remove `ref` patternsMaybe Waffle-6/+6
2022-11-21Match crate and slug namesmejrs-6/+6
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-2/+2
2022-10-23Migrate all diagnosticsNilstrieb-14/+14
2022-09-27Implement IntoDiagnosticArg for rustc_ast::token::Token(Kind)Xiretza-3/+1
2022-09-27Rework "inner attribute not permitted" errorsXiretza-56/+51
2022-09-27Remove error condition in parse_attributeXiretza-25/+12
2022-09-27Migrate more rustc_parse diagnostics to diagnostic structsXiretza-10/+7
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-2/+15
2022-09-09Rename `{Create,Lazy}TokenStream` as `{To,Lazy}AttrTokenStream`.Nicholas Nethercote-1/+1
2022-09-09Rename `AttrAnnotatedToken{Stream,Tree}`.Nicholas Nethercote-1/+1
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-2/+0
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-4/+4
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-4/+3
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-4/+4
2022-05-02fix most compiler/ doctestsElliot Roberts-3/+4
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-4/+4
2022-04-06Stop flagging certain inner attrs as outer onesLeón Orell Valerian Liehr-11/+15
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-17Rollup merge of #94731 - TaKO8Ki:const-generic-expr-recovery, r=davidtwco,oli...Dylan DPC-1/+1
2022-03-15use `format_args_capture` in some parts of rustc_parseTakayuki Maeda-2/+2
2022-03-10replace `self.clone()` with `self.create_snapshot_for_diagnostic()`Takayuki Maeda-1/+1
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-4/+4
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-2/+2
2021-12-04Do not add `;` to expected tokens list when it's wrongMichael Howell-2/+2
2021-09-02Provide more context on incorrect inner attributeEsteban Kuber-21/+119
2021-07-02Recover from a misplaced inner doc commentAaron Hill-1/+8
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-1/+0
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-2/+20
2021-02-13Address review commentsAaron Hill-1/+1
2021-02-13Require passing an `AttrWrapper` to `collect_tokens_trailing_token`Aaron Hill-5/+7
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-4/+2
2021-01-13Set tokens on AST node in `collect_tokens`Aaron Hill-12/+4
2020-11-26rustc_parse: restore pub vis on parse_attributeCaleb Cartwright-2/+4
2020-11-19resolve/expand: Misc cleanupVadim Petrochenkov-7/+6
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-99/+74
2020-10-22Only call `collect_tokens` when we have an attribute to parseAaron Hill-26/+32