about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-5/+8
2025-03-12Factor out some repeated code in `parse_item_impl`.Nicholas Nethercote-24/+13
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-1/+8
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-2/+17
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-5/+8
2025-03-06Fix use closure parsing error messageSantiago Pastorino-3/+16
2025-03-06Support nested use closuresSantiago Pastorino-1/+3
2025-03-06Use closure parse codeSantiago Pastorino-1/+1
2025-03-05Simplify `parse_self_param`Frank King-43/+20
2025-03-05Implement `&pin const self` and `&pin mut self` sugarsFrank King-0/+45
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-8/+8
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-6/+6
2025-02-28Remove `NtPat`.Nicholas Nethercote-3/+5
2025-02-15Try to recover from path sep error in parseryukang-3/+0
2025-02-08Rustfmtbjorn3-4/+4
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-4/+9
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