about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/select
AgeCommit message (Expand)AuthorLines
2023-01-08Add type flags support for Ty and Const late-bound regionsMichael Goulet-4/+3
2023-01-04Split `-Zchalk` flag into `-Ztrait-solver=(stock|chalk|next)` flagMichael Goulet-2/+2
2022-12-28Allow trait method paths to satisfy const Fn boundsDeadbeef-7/+27
2022-12-19implement the skeleton of the updated trait solverlcnr-13/+1
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-3/+3
2022-12-14Guard `AliasTy` creation against passing the wrong number of substsOli Scherer-1/+1
2022-12-13Combine identical alias armsMichael Goulet-15/+8
2022-12-13Combine projection and opaque into aliasMichael Goulet-16/+19
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-8/+5
2022-12-13ProjectionTy.item_def_id -> ProjectionTy.def_idMichael Goulet-4/+4
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-4/+4
2022-12-08Move vtable methods into its own moduleMichael Goulet-5/+8
2022-12-06Avoid noting cause code (which is usually misc, b/c codegen) for opaque type ...Michael Goulet-10/+3
2022-12-04Auto merge of #105094 - Swatinem:generator-not-future, r=compiler-errorsbors-1/+5
2022-12-03Don't add a note for implementing a trait if its inner type is erroneousbhbs-15/+20
2022-11-30Make sure async constructs do not `impl Generator`Arpad Borsos-1/+5
2022-11-29Rollup merge of #105066 - lcnr:mv-candidate_from_obligation, r=compiler-errorsMatthias Krüger-210/+207
2022-11-29move `candidate_from_obligation` out of assemblylcnr-210/+207
2022-11-29Explain why rematch_impl fails to be infallibleMichael Goulet-0/+7
2022-11-28Simplify checking for `GeneratorKind::Async`Arpad Borsos-3/+1
2022-11-28Rollup merge of #104907 - compiler-errors:selcx-infcx, r=oli-obkDylan DPC-20/+13
2022-11-27Add `TyCtxt::is_fn_trait`Maybe Waffle-1/+1
2022-11-27Rename `fn_trait_kind_from_{from_lang=>def_id}` to better convey meaningMaybe Waffle-3/+3
2022-11-25Remove SelectionContext::infcx() in favor of field accessMichael Goulet-20/+13
2022-11-25Auto merge of #99798 - JulianKnodt:ac1, r=BoxyUwUbors-11/+55
2022-11-25Auto merge of #104902 - matthiaskrgr:rollup-oo27a4u, r=matthiaskrgrbors-28/+9
2022-11-25Rollup merge of #104716 - lcnr:selection-candidate, r=jackh726Matthias Krüger-28/+9
2022-11-25Auto merge of #104846 - spastorino:santa-clauses-make-goals-early-christmas-ð...bors-18/+13
2022-11-25move 2 candidates into builtin candidatelcnr-28/+9
2022-11-25Make `expand_abstract_consts` infallibleBoxy-4/+2
2022-11-25also handle it in evaluateBoxy-24/+51
2022-11-25fmtBoxy-16/+18
2022-11-25Add expand_abstract_constkadmin-11/+8
2022-11-25Add empty ConstKind::Abstractkadmin-4/+24
2022-11-25Introduce PredicateKind::ClauseSantiago Pastorino-6/+10
2022-11-25Simplify a bunch of trait ref obligation creationsOli Scherer-6/+2
2022-11-25get rid of to_poly_trait_predicateOli Scherer-6/+1
2022-11-24Remove comment, simplify since we asserted fn ptr Self type has no bound varsMichael Goulet-10/+1
2022-11-24Also check that fn pointer candidates don't have escaping bound varsMichael Goulet-1/+4
2022-11-24Assert that we don't capture escaping bound vars in Fn trait selectionMichael Goulet-10/+17
2022-11-24Auto merge of #104321 - Swatinem:async-gen, r=oli-obkbors-33/+86
2022-11-24Avoid `GenFuture` shim when compiling async constructsArpad Borsos-33/+86
2022-11-24Rollup merge of #104742 - WaffleLapkin:forbidden-SUPER-deref, r=compiler-errorsMatthias Krüger-12/+0
2022-11-24Disable dyn* upcastingMichael Goulet-7/+6
2022-11-23Make `deref_into_dyn_supertrait` lint the impl and not the usageMaybe Waffle-12/+0
2022-11-22Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnrManish Goregaokar-36/+13
2022-11-22Auto merge of #104696 - matthiaskrgr:rollup-gi1pdb0, r=matthiaskrgrbors-32/+27
2022-11-22Rollup merge of #104597 - compiler-errors:need_migrate_deref_output_trait_obj...Matthias Krüger-32/+27
2022-11-21Stop passing the self-type as a separate argument.Oli Scherer-23/+15
2022-11-21Add helper to create the trait ref for a lang itemOli Scherer-11/+8