summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-1/+1
2024-01-12Delegation implementation: step 1Bryanskiy-0/+36
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-10/+12
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-2/+2
2024-01-08Remove a fourth `DiagnosticBuilder::emit_without_consuming` call.Nicholas Nethercote-22/+13
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-2/+1
2024-01-08Use chaining in `DiagnosticBuilder` construction.Nicholas Nethercote-12/+10
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-16/+19
2024-01-05rustc_span: More consistent span combination operationsVadim Petrochenkov-2/+2
2023-12-24Remove `ParseSess` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-36/+37
2023-12-24Remove `Parser` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-10/+12
2023-12-22Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errorsbors-10/+6
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-5/+5
2023-12-18Use `.into_diagnostic()` less.Nicholas Nethercote-10/+6
2023-12-18Rename `Parser::span_diagnostic` as `Parser::dcx`.Nicholas Nethercote-7/+7
2023-12-15NFC don't convert types to identical typesMatthias Krüger-1/+1
2023-12-10remove redundant importssurechen-7/+1
2023-12-08Support async gen fnMichael Goulet-26/+21
2023-12-08coro_kind -> coroutine_kindMichael Goulet-3/+3
2023-12-08Implement `async gen` blocksMichael Goulet-2/+4
2023-12-07Rollup merge of #116420 - bvanjoi:fix-116203, r=NilstriebMatthias Krüger-1/+3
2023-12-04Address code review feedbackEric Holk-1/+1
2023-12-04Option<CoroutineKind>Eric Holk-12/+14
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-11/+23
2023-12-04Make async gen fn an errorEric Holk-0/+6
2023-12-04gate gen fn behind gen_blocksEric Holk-0/+4
2023-12-04Lower return types for gen fn to impl IteratorEric Holk-4/+0
2023-12-04Add genness to FnHeaderEric Holk-1/+2
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-11/+6
2023-11-29Always emit help when failing to parse enum variantEsteban Küber-2/+7
2023-11-29Change enum parse recoveryEsteban Küber-8/+35
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-16More detail when expecting expression but encountering bad macro argumentEsteban Küber-2/+2
2023-11-15discard invalid spans in external blocksbohan-1/+3
2023-11-08Rollup merge of #117282 - clubby789:recover-wrong-function-header, r=TaKO8KiGuillaume Gomez-3/+37
2023-11-07Auto merge of #117297 - clubby789:fn-trait-missing-paren, r=TaKO8Kibors-0/+12
2023-11-03Auto merge of #117507 - nnethercote:rustc_span, r=Nilstriebbors-2/+2
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-2/+2
2023-11-01Rollup merge of #117298 - clubby789:fn-missing-params, r=petrochenkovMatthias Krüger-0/+10
2023-11-01Give a better diagnostic for missing parens in Fn* boundsclubby789-0/+12
2023-11-01Recover from missing param list in function definitionsclubby789-0/+10
2023-10-30Talk about `gen fn` in diagnostics about `gen fn`Oli Scherer-1/+1
2023-10-29Auto merge of #116889 - MU001999:master, r=petrochenkovbors-0/+2
2023-10-28restore snapshot when parse_param_generalMu001999-0/+2
2023-10-27Recover from incorrectly ordered/duplicated function keywordsclubby789-3/+37
2023-10-26Reserve `gen` keyword for `gen {}` blocks and `gen fn` in 2024 editionOli Scherer-2/+9
2023-10-13Format all the let chains in compilerMichael Goulet-8/+12
2023-10-03Gate against auto traits pre-expansionMichael Goulet-1/+6
2023-09-06Add explanatory note to 'expected item' errorGurinder Singh-4/+8
2023-08-30Rollup merge of #114704 - bvanjoi:fix-114636, r=compiler-errorsMatthias Krüger-13/+3