summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src
AgeCommit message (Expand)AuthorLines
2024-03-14AST validation: Improve handling of inherent impls nested within functions an...León Orell Valerian Liehr-27/+30
2024-02-13Correctly check `never_type` feature gatingGuillaume Gomez-0/+13
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-19/+19
2024-01-25Remove unused featuresclubby789-1/+0
2024-01-19add help message for `exclusive_range_pattern` errorRowan S-L-1/+2
2024-01-13Auto merge of #119088 - George-lewis:glewis/suggest-upgrading-compiler, r=Nil...bors-22/+8
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-22/+8
2024-01-13Rollup merge of #119894 - fmease:tilde-const-assoc-ty-bounds, r=compiler-errorsMatthias Krüger-5/+50
2024-01-12Allow `~const` on assoc ty bounds againLeón Orell Valerian Liehr-5/+50
2024-01-12Delegation implementation: step 1Bryanskiy-0/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-1/+1
2024-01-10Rename `{create,emit}_warning` as `{create,emit}_warn`.Nicholas Nethercote-3/+3
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2024-01-05Rollup merge of #119354 - fmease:negative_bounds-fixes, r=compiler-errorsMatthias Krüger-5/+23
2024-01-05Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errorsMichael Goulet-2/+2
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-2/+2
2024-01-02E0379: Provide suggestionsLeón Orell Valerian Liehr-35/+114
2024-01-02E0379: Make diagnostic more preciseLeón Orell Valerian Liehr-1/+2
2023-12-28Deny parenthetical notation for negative boundsLeón Orell Valerian Liehr-5/+23
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-2/+12
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-33/+37
2023-12-22Auto merge of #118847 - eholk:for-await, r=compiler-errorsbors-0/+1
2023-12-22Auto merge of #119163 - fmease:refactor-ast-trait-bound-modifiers, r=compiler...bors-19/+21
2023-12-21Rollup merge of #119154 - surechen:fix_119067, r=fmeaseMatthias Krüger-5/+6
2023-12-21Simple modification of diagnostic informationsurechen-5/+6
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-19/+21
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-2/+2
2023-12-19Plumb awaitness of for loopsEric Holk-0/+1
2023-12-18Auto merge of #117818 - fmease:properly-reject-defaultness-on-free-consts, r=...bors-5/+7
2023-12-18Auto merge of #119069 - matthiaskrgr:rollup-xxk4m30, r=matthiaskrgrbors-2/+15
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `ShowSpanVisitor::span_diagnostic` as `ShowSpanVisitor::dcx`.Nicholas Nethercote-6/+6
2023-12-18Rename `AstValidator::err_handler` as `AstValidator::dcx`.Nicholas Nethercote-41/+38
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-3/+3
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-4/+4
2023-12-18Deny ~const trait bounds in inherent impl headersLeón Orell Valerian Liehr-2/+15
2023-12-12Correctly gate the parsing of match arms without bodyNadrieril-1/+37
2023-12-10remove redundant importssurechen-2/+2
2023-12-08Rename some more coro_kind -> coroutine_kindMichael Goulet-2/+2
2023-12-08Make some matches exhaustive to avoid bugs, fix toolsMichael Goulet-5/+6
2023-12-08coro_kind -> coroutine_kindMichael Goulet-1/+1
2023-12-04Address code review feedbackEric Holk-1/+1
2023-12-04Option<CoroutineKind>Eric Holk-2/+7
2023-12-04Merge Async and Gen into CoroutineKindEric Holk-1/+1
2023-12-02Auto merge of #118470 - nnethercote:cleanup-error-handlers, r=compiler-errorsbors-2/+2
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-2/+2
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-12-01Auto merge of #117472 - jmillikin:stable-c-str-literals, r=Nilstriebbors-1/+0
2023-11-29Add `never_patterns` feature gateNadrieril-0/+1
2023-11-26Use `rustc_fluent_macro::fluent_messages!` directly.Nicholas Nethercote-3/+1