about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
2024-04-15Parsing , pre-lowering support for precise capturesMichael Goulet-1/+1
2024-04-12Rollup merge of #123841 - Kohei316:remove_qualifier_sugg, r=wesleywiserMatthias Krüger-1/+5
2024-04-12Improve diagnostic by suggesting to remove visibility qualifiermorine0122-1/+5
2024-04-09Add a helper for extending a span to include any trailing whitespaceMichael Goulet-1/+1
2024-04-04Rollup merge of #123397 - krtab:foreign_fn_qualif_diag, r=petrochenkovMatthias Krüger-5/+24
2024-04-04Fix diagnostic for qualifier in extern blockArthur Carcano-5/+24
2024-03-28compiler: fix few needless_pass_by_ref_mut clippy lintsklensy-1/+1
2024-03-16Rollup merge of #121545 - gvozdvmozgu:fix-attribute-validation-associated-ite...León Orell Valerian Liehr-0/+1
2024-03-07Rollup merge of #122004 - fmease:astvalidator-min-fix, r=compiler-errorsGuillaume Gomez-27/+30
2024-03-05Move visitor utils to `rustc_ast_ir`Jason Newcomb-2/+1
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-4/+4
2024-03-05AST validation: Improve handling of inherent impls nested within functions an...León Orell Valerian Liehr-27/+30
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2024-02-29Detect empty leading where-clauses on type aliasesLeón Orell Valerian Liehr-28/+35
2024-02-29AST: Refactor type alias where clausesLeón Orell Valerian Liehr-14/+13
2024-02-24fix attribute validation on associated items in traitsgvozdvmozgu-0/+1
2024-02-21Remove an `unchecked_error_guaranteed` call.Nicholas Nethercote-3/+4
2024-02-15Add an `ErrorGuaranteed` to `ast::TyKind::Err`.Nicholas Nethercote-1/+2
2024-02-13Rollup merge of #120751 - estebank:issue-68982, r=nnethercoteMatthias Krüger-35/+89
2024-02-12check uniqueness of nested fieldsFrank King-1/+1
2024-02-12Lower anonymous structs or unions to HIRFrank King-1/+1
2024-02-08Do not leave stray commas after applying suggestionEsteban Küber-61/+56
2024-02-07Provide more suggestions on invalid equality where boundsEsteban Küber-4/+63
2024-01-12Allow `~const` on assoc ty bounds againLeón Orell Valerian Liehr-5/+33
2024-01-05Rollup merge of #119354 - fmease:negative_bounds-fixes, r=compiler-errorsMatthias Krüger-5/+16
2024-01-02E0379: Provide suggestionsLeón Orell Valerian Liehr-34/+96
2024-01-02E0379: Make diagnostic more preciseLeón Orell Valerian Liehr-1/+1
2023-12-28Deny parenthetical notation for negative boundsLeón Orell Valerian Liehr-5/+16
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-2/+5
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-28/+28
2023-12-22Auto merge of #119163 - fmease:refactor-ast-trait-bound-modifiers, r=compiler...bors-16/+17
2023-12-20Refactor AST trait bound modifiersLeón Orell Valerian Liehr-16/+17
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-2/+2
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/+10
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `AstValidator::err_handler` as `AstValidator::dcx`.Nicholas Nethercote-41/+38
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-1/+1
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-2/+2
2023-12-18Deny ~const trait bounds in inherent impl headersLeón Orell Valerian Liehr-2/+10
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-11-24Add `Span` to `TraitBoundModifier`Deadbeef-3/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-11-15Re-format code with new rustfmtMark Rousskov-10/+8