summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
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
2023-04-04rust-analyzer guided enum variant structificationOli Scherer-2/+2
2023-04-03Make "unneccesary visibility qualifier" error much more clearTam Pham-14/+19
2023-03-28Add `(..)` syntax for RTNMichael Goulet-5/+9
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-4/+4
2023-03-04Remove `allow(potential_query_instability)` from `ast_passes`clubby789-2/+2
2023-03-03Match unmatched backticks in comments in compiler/est31-1/+1
2023-02-25Complete migrating `ast_passes` to derive diagnosticsclubby789-382/+176
2023-02-22Move associated type bounds check to ast loweringMichael Goulet-32/+1
2023-02-22errors: generate typed identifiers in each crateDavid Wood-3/+4
2023-02-21Use `ThinVec` in `ast::AngleBracketedArgs`.Nicholas Nethercote-1/+2
2023-02-17Rollup merge of #107489 - compiler-errors:non_lifetime_binders, r=cjgillotMatthias Krüger-34/+0
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-1/+1
2023-02-16Add feature gate for non_lifetime_bindersMichael Goulet-34/+0
2023-01-19Autoderive ExternBlockSuggestionmejrs-7/+8
2022-12-15Allow `impl ~const Trait` opaque typesDeadbeef-7/+1
2022-12-01Auto merge of #104861 - nnethercote:attr-cleanups, r=petrochenkovbors-1/+1
2022-11-29`rustc_ast_passes`: remove `ref` patternsMaybe Waffle-50/+45
2022-11-29Avoid unnecessary `MetaItem`/`Attribute` conversions.Nicholas Nethercote-1/+1
2022-11-16Use `as_deref` in compiler (but only where it makes sense)Maybe Waffle-1/+1
2022-11-08Visit attributes of trait impl items during AST validationLeón Orell Valerian Liehr-1/+2
2022-10-23Migrate all diagnosticsNilstrieb-3/+3
2022-10-22Rollup merge of #103351 - oli-obk:tilde_const_impls, r=fee1-deadMatthias Krüger-49/+3
2022-10-21Remove needless special cases and dead codeOli Scherer-49/+3
2022-10-21Rollup merge of #103051 - davidtwco:translation-tidying-up, r=compiler-errorsDylan DPC-3/+6
2022-10-20Improve "`~const` is not allowed here" messageDeadbeef-20/+43
2022-10-17ast_passes: use derive moreDavid Wood-3/+6
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-2/+2
2022-09-26Allow `~const` bounds on non-const functionswoppopo-4/+3
2022-09-12Remove unused span argument from `walk_fn`.Nicholas Nethercote-1/+1
2022-09-12Remove `path_span` argument to the `visit_path_segment` methods.Nicholas Nethercote-5/+3
2022-09-09Rollup merge of #101573 - lcnr:param-kind-ord, r=BoxyUwUDylan DPC-2/+2
2022-09-09Make async fn in traits workMichael Goulet-7/+0
2022-09-08update `ParamKindOrd`lcnr-2/+2
2022-09-02Refactor and re-use BindingAnnotationCameron Steffen-2/+2
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-29Migrate stable let_chains error to session diagnosticsNilstrieb-23/+2