summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
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
2022-08-29Revert let_chains stabilizationNilstrieb-1/+27
2022-08-22Migrate forbidden_default and *_without_bodyfinalchild-74/+54
2022-08-22Support #[fatal(..)]finalchild-1/+1
2022-08-22Migrate fn_param_forbidden_self and rename others to have prefix fn_param_finalchild-13/+6
2022-08-22Rename c_var_args_without_named_arg to c_var_args_is_sole_paramfinalchild-1/+1
2022-08-22Migrate doc_comment_on_fn_param, forbidden_attr_on_fn_paramfinalchild-12/+2
2022-08-22Migrate forbidden_lifetime_bound, forbidden_non_lifetime_param, too_many_para...finalchild-26/+6
2022-08-22Migrate trait_fn_asyncfinalchild-10/+1
2022-08-22Migrate deprecated_where_clause_location, forbidden_assoc_constraint, keyword...finalchild-22/+14
2022-08-22Migrate forbidden_letfinalchild-18/+4
2022-08-11Rollup merge of #100392 - nnethercote:simplify-visitors, r=cjgillotMatthias Krüger-12/+4
2022-08-11Simplify `rustc_ast::visit::Visitor::visit_poly_trait_ref`.Nicholas Nethercote-2/+2
2022-08-11Simplify `rustc_ast::visit::Visitor::visit_enum_def`.Nicholas Nethercote-10/+2
2022-08-10Use &mut Diagnostic instead of &mut DiagnosticBuilder unless neededMichael Goulet-5/+3
2022-07-23Allow `~const` on super traitsDeadbeef-1/+1
2022-07-16Stabilize `let_chains`Caio-25/+15
2022-07-12Parse closure bindersMaybe Waffle-0/+4
2022-07-06Suggest using block for `extern "abi" fn` with no bodyNixon Enraght-Moony-11/+54
2022-07-02ast: Add span to `Extern`Nixon Enraght-Moony-3/+4
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-8/+8
2022-06-04Support the `#[expect]` attribute on fn parameters (RFC-2383)xFrednet-2/+10
2022-05-26clippy::complexity fixesMatthias Krüger-5/+4
2022-05-20Introduce LifetimeCtxt.Camille GILLOT-1/+1
2022-04-21rename to `BoundKind` and add commentsSparrowLii-6/+6
2022-04-20Add `BoundCtxt` in `visit_param_bounds` to check questions in boundsSparrowLii-36/+35
2022-04-17Visit generics inside visit_fn.Camille GILLOT-16/+24
2022-03-31[let_chains] Forbid let inside parenthesesCaio-12/+42
2022-03-30Rollup merge of #95461 - nyurik:spelling, r=lcnrDylan DPC-1/+1
2022-03-30Spellchecking compiler codeYuri Astrakhan-2/+2
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-25Minor `let_chains` modificationCaio-1/+4
2022-03-22diagnostics: do not suggest `fn foo({ <body> }`Michael Howell-1/+8
2022-03-16rustc_error: make ErrorReported impossible to constructmark-1/+1
2022-03-09Warn users about || in let chain expressionsCaio-39/+65
2022-03-05Review changesJack Huey-2/+6
2022-03-05Change to lintJack Huey-9/+14
2022-03-05Change syntax for TyAlias where clausesJack Huey-7/+73
2022-02-19Adopt let else in more placesest31-6/+4
2022-01-17Add termkadmin-2/+1
2022-01-17add eq constraints on associated constantskadmin-7/+8
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-9/+0
2022-01-01Move `PatKind::Lit` checking from ast_validation to ast loweringAaron Hill-47/+0