summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
2024-04-11fix attribute validation on associated items in traitsgvozdvmozgu-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-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
2023-11-12Auto merge of #117817 - fmease:deny-more-tilde-const, r=fee1-deadbors-45/+30
2023-11-12Deny more `~const` trait boundsLeón Orell Valerian Liehr-45/+30
2023-11-11Reject defaultness on free constsLeón Orell Valerian Liehr-5/+7
2023-10-31Use `if let` to reduce some excessive indentation.Nicholas Nethercote-53/+45
2023-10-30Explicitly reject const C-variadic functionsNicholas Bishop-2/+17
2023-10-30Fix bad-c-variadic error being emitted multiple timesNicholas Bishop-5/+13
2023-10-13Format all the let chains in compilerMichael Goulet-28/+40
2023-09-30Validate `~const` trait bounds on associated fns.Raekye-22/+34