about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/ast_validation.rs
AgeCommit message (Expand)AuthorLines
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
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