about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-180/+190
2024-12-19Rename `Parser::expected_tokens` as `Parser::expected_token_types`.Nicholas Nethercote-1/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-1/+1
2024-12-09Detect `struct S(ty = val);`Esteban Küber-1/+17
2024-12-09Introduce `default_field_values` featureEsteban Küber-3/+8
2024-12-04Fix suggestion when shorthand self has erroneous typeMichael Goulet-1/+29
2024-11-21Implement the unsafe-fields RFC.Luca Versari-2/+20
2024-11-17Diagnostics for let mut in item contextKornel-8/+25
2024-10-31Improve the missing_abi lint.Mara Bos-0/+2
2024-10-01Remove anon struct and union typesMichael Goulet-1/+1
2024-10-01Remove unnamed field featureMichael Goulet-3/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-9/+9
2024-09-21Parser: recover from `:::` to `::` in delegationsPavel Grigorenko-1/+1
2024-09-21Parser: recover from `:::` to `::`Pavel Grigorenko-2/+2
2024-09-12Rollup merge of #130250 - compiler-errors:useless-conversion, r=jieyouxuStuart Cook-5/+5
2024-09-11clippy::useless_conversionMichael Goulet-5/+5
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-08-28Rollup merge of #129667 - dev-ardi:rustc_driver-cleanup, r=michaelwoeristerMatthias Krüger-1/+3
2024-08-28clarify what term can beOrion Gonzalez-1/+3
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+2
2024-08-16Overhaul token collection.Nicholas Nethercote-73/+73
2024-08-16Convert a bool to `Trailing`.Nicholas Nethercote-10/+11
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-19/+19
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-3/+2
2024-07-29Mark Parser::eat/check methods as must_useMichael Goulet-3/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-12/+12
2024-07-26Improve error message for `extern "C" unsafe fn()`Tamme Dittrich-3/+6
2024-07-25Fix a span error when parsing a wrong param of function.surechen-1/+8
2024-07-19Rollup merge of #127350 - veera-sivarajan:bugfix-126311, r=lcnrMatthias Krüger-28/+96
2024-07-18Parser: Suggest Placing the Return Type After Function ParametersVeera-28/+96
2024-07-18Remove `TrailingToken`.Nicholas Nethercote-14/+11
2024-07-17Rollup merge of #127806 - nnethercote:parser-improvements, r=spastorinoTrevor Gross-47/+32
2024-07-16Inline `Parser::parse_item_common_`.Nicholas Nethercote-43/+32
2024-07-16Remove an unnecessary `?`.Nicholas Nethercote-8/+4
2024-07-15Rollup merge of #127407 - estebank:parser-suggestions, r=oli-obkMatthias Krüger-1/+5
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-1/+5
2024-07-12Auto merge of #127382 - estebank:const-let, r=compiler-errorsbors-1/+1
2024-07-11Use verbose style when suggesting changing `const` with `let`Esteban Küber-1/+1
2024-07-11check is_ident before parse_identtrevyn-2/+2
2024-07-08Add suggestions for possible missing `fn`, `struct`, or `enum` keywordstrevyn-49/+63
2024-06-20StaticForeignItem and StaticItem are the sameMichael Goulet-1/+1
2024-06-20Introduce `can_begin_string_literal`.Nicholas Nethercote-2/+2
2024-06-19Rollup merge of #124135 - petrochenkov:deleglob, r=fmease许杰友 Jieyou Xu (Joe)-5/+19
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-8/+5
2024-06-17Rework precise capturing syntaxMichael Goulet-1/+1
2024-06-14delegation: Implement glob delegationVadim Petrochenkov-5/+19
2024-06-07Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorinoMatthias Krüger-2/+2
2024-06-06Reduce `pub` exposure.Nicholas Nethercote-2/+2
2024-06-04Add safe/unsafe to static inside extern blocksSantiago Pastorino-5/+13