about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
AgeCommit message (Expand)AuthorLines
2023-12-23Give `DiagnosticBuilder` a default type.Nicholas Nethercote-36/+24
2023-12-22Auto merge of #118847 - eholk:for-await, r=compiler-errorsbors-6/+15
2023-12-22Auto merge of #119163 - fmease:refactor-ast-trait-bound-modifiers, r=compiler...bors-49/+29
2023-12-22Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errorsbors-119/+127
2023-12-20Rollup merge of #119145 - aDotInTheVoid:variantdata-struct-struct, r=compiler...Matthias Krüger-5/+5
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-49/+29
2023-12-20Rollup merge of #118691 - chfogelman:improve-cstr-error, r=fmeaseMatthias Krüger-7/+29
2023-12-19Add additional tests and update existing testsEric Holk-1/+2
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-5/+5
2023-12-19Improve compiler error for c-strings in pre-2021Carter Hunt Fogelman-7/+29
2023-12-19Plumb awaitness of for loopsEric Holk-6/+14
2023-12-19Add `EmitResult` associated type to `EmissionGuarantee`.Nicholas Nethercote-2/+4
2023-12-19Add `level` arg to `into_diagnostic`.Nicholas Nethercote-33/+47
2023-12-18Use `.into_diagnostic()` less.Nicholas Nethercote-84/+76
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-29/+26
2023-12-18Rename `Parser::span_diagnostic` as `Parser::dcx`.Nicholas Nethercote-42/+40
2023-12-18Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.Nicholas Nethercote-25/+25
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-7/+7
2023-12-16Auto merge of #118897 - nnethercote:more-unescaping-cleanups, r=fee1-deadbors-33/+42
2023-12-15NFC don't convert types to identical typesMatthias Krüger-2/+2
2023-12-14Rollup merge of #118933 - nnethercote:cleanup-errors-even-more, r=compiler-er...Jubilee-10/+9
2023-12-15Split `Handler::emit_diagnostic` in two.Nicholas Nethercote-4/+4
2023-12-15Change `msg: impl Into<String>` for bug diagnostics.Nicholas Nethercote-2/+2
2023-12-14Remove one use of `span_bug_no_panic`.Nicholas Nethercote-2/+1
2023-12-14Avoid `struct_diagnostic` where possible.Nicholas Nethercote-2/+2
2023-12-12Rollup merge of #118891 - compiler-errors:async-gen-blocks, r=eholkJubilee-9/+18
2023-12-13Rename the `span` args to `emit_unescape_error`.Nicholas Nethercote-33/+42
2023-12-12Actually parse async gen blocks correctlyMichael Goulet-9/+18
2023-12-12Rollup merge of #118868 - Nadrieril:correctly-gate-never_patterns-parsing, r=...Matthias Krüger-1/+9
2023-12-12Don't gate the feature twiceNadrieril-1/+4
2023-12-12Correctly gate the parsing of match arms without bodyNadrieril-1/+6
2023-12-12Improve an error involving attribute values.Nicholas Nethercote-22/+38
2023-12-11Add spacing information to delimiters.Nicholas Nethercote-59/+81
2023-12-11Improve `print_tts` by changing `tokenstream::Spacing`.Nicholas Nethercote-7/+19
2023-12-10remove redundant importssurechen-8/+1
2023-12-08Auto merge of #118420 - compiler-errors:async-gen, r=eholkbors-75/+85
2023-12-08Support async gen fnMichael Goulet-63/+66
2023-12-08coro_kind -> coroutine_kindMichael Goulet-6/+6
2023-12-08Implement `async gen` blocksMichael Goulet-11/+18
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-136/+155
2023-12-07Rollup merge of #116420 - bvanjoi:fix-116203, r=NilstriebMatthias Krüger-2/+4
2023-12-06Auto merge of #118655 - compiler-errors:rollup-vrngyzn, r=compiler-errorsbors-15/+17
2023-12-05Rollup merge of #118587 - nnethercote:cleanup-error-handlers-2, r=compiler-er...Michael Goulet-5/+5
2023-12-05Rollup merge of #118585 - sjwang05:issue-118564, r=compiler-errorsMichael Goulet-10/+12
2023-12-05Auto merge of #118457 - eholk:genfn, r=compiler-errorsbors-25/+62
2023-12-05Rollup merge of #117922 - estebank:unclosed-generics, r=b-naberMatthias Krüger-10/+35
2023-12-04Address code review feedbackEric Holk-2/+2
2023-12-04Option<CoroutineKind>Eric Holk-27/+27
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-25/+47
2023-12-04Make async gen fn an errorEric Holk-0/+13