about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
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
2023-09-11Move let expression checking to parsingMatthew Jasper-103/+0
2023-08-24Auto merge of #115131 - frank-king:feature/unnamed-fields-lite, r=petrochenkovbors-1/+84
2023-08-24Parse unnamed fields and anonymous structs or unionsFrank King-1/+84
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-2/+10
2023-08-10Unlock trailing where-clauses for lazy type aliasesLeón Orell Valerian Liehr-44/+55
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-6/+3
2023-07-11Lint against misplaced where-clauses on assoc tys in traitsLeón Orell Valerian Liehr-15/+16
2023-06-27Simplify some conditionsMaybe Waffle-4/+3
2023-06-12Fix debug ICE for extern type with where clauses许杰友 Jieyou Xu (Joe)-5/+15
2023-05-25Auto merge of #111925 - Manishearth:rollup-z6z6l2v, r=Manishearthbors-1/+1
2023-05-24Use `is_some_and`/`is_ok_and` in less obvious spotsMaybe Waffle-1/+1
2023-05-22Run AST validation on match guards correctlyMatthew Jasper-3/+2
2023-05-02Disallow associated type constraints on negative boundsMichael Goulet-0/+12
2023-05-02Implement negative boundsMichael Goulet-1/+4
2023-04-12Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholkMatthias Krüger-2/+0
2023-04-11Rollup merge of #109923 - ElectrifyPro:visibility, r=wesleywiserYuki Okushi-14/+19
2023-04-10Remove `..` from return type notationMichael Goulet-2/+0
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-04-04Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem`Oli Scherer-2/+2
2023-04-04box a bunch of large typesOli Scherer-3/+3
2023-04-04Split out ast::ItemKind::Const into its own structOli Scherer-9/+7
2023-04-04rust-analyzer guided tuple field to named fieldOli Scherer-1/+1