about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/attr.rs
AgeCommit message (Expand)AuthorLines
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-3/+3
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-2/+2
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-2/+2
2024-01-12Suggest quoting unquoted idents in attrssjwang05-4/+24
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-4/+7
2024-01-08Remove all eight `DiagnosticBuilder::*_with_code` methods.Nicholas Nethercote-5/+4
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-14/+13
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-1/+1
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `Parser` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-3/+3
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