about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/select
AgeCommit message (Expand)AuthorLines
2023-04-03Never consider int and float vars for `FnPtr` candidatesNilstrieb-8/+14
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-0/+1
2023-03-29Inline and remove `SelectionContext::fast_reject_trait_refs`.Nicholas Nethercote-18/+4
2023-03-29Introduce `DeepRejectCtxt::substs_refs_may_unify`.Nicholas Nethercote-2/+4
2023-03-28Auto merge of #109692 - Nilstrieb:rollup-hq65rps, r=Nilstriebbors-78/+86
2023-03-28Rollup merge of #102472 - lcnr:static-in-eval, r=jackh726nils-78/+86
2023-03-27Add a builtin `FnPtr` traitlcnr-6/+146
2023-03-23Use fulfillment in InferCtxt::evaluate_obligationMichael Goulet-0/+1
2023-03-23Rename AliasEq -> AliasRelateMichael Goulet-2/+2
2023-03-22stop special-casing `'static` in evaluatelcnr-78/+86
2023-03-22Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errorsbors-87/+41
2023-03-21Deduplicate fn trait compatibility checksOli Scherer-20/+7
2023-03-21Only implement Fn* traits for extern "Rust" safe function pointers.Oli Scherer-0/+3
2023-03-21evaluate: improve and fix recursion depth handlinglcnr-52/+19
2023-03-21remove some trait solver helperslcnr-35/+22
2023-03-15always make `define_opaque_types` explicitlcnr-20/+27
2023-03-13Better names?Michael Goulet-2/+2
2023-03-13Treat projections with infer as placeholder during fast reject in new solverMichael Goulet-0/+2
2023-03-11Use TyCtxt::trait_solver_next in some placesMichael Goulet-7/+6
2023-03-10Rollup merge of #108937 - lcnr:winnowing-enum, r=WaffleLapkinMatthias Krüger-40/+67
2023-03-10Rollup merge of #108834 - compiler-errors:fn-ptr-fn-obl, r=spastorinoMatthias Krüger-3/+11
2023-03-10updating commentlcnr-1/+1
2023-03-09improve readability of winnowinglcnr-39/+66
2023-03-08fix: evaluate with wrong obligation stackyifei-2/+2
2023-03-06Do not ICE when we have fn pointer Fn obligations with bound vars in the self...Michael Goulet-3/+11
2023-03-05Rollup merge of #108744 - compiler-errors:non_lifetime_binders-bad-copy-clone...Matthias Krüger-5/+6
2023-03-04Don't ICE when encountering bound var in builtin copy/clone boundsMichael Goulet-5/+6
2023-03-03Match unmatched backticks in comments in compiler/est31-2/+2
2023-03-03Match unmatched backticks in compiler/ that are part of rustdocest31-1/+1
2023-02-25Treat `str` as containing `[u8]` for auto trait purposesMichael Goulet-1/+3
2023-02-24Rename many interner functions.Nicholas Nethercote-8/+9
2023-02-22Rename ty_error_with_guaranteed to ty_error, ty_error to ty_error_miscMichael Goulet-1/+1
2023-02-22Use ty_error_with_guaranteed in many more placesMichael Goulet-2/+2
2023-02-22Remove type-traversal trait aliasesAlan Egerton-4/+4
2023-02-21Make hidden type registration opt-in, so that each site can be reviewed on it...Oli Scherer-8/+2
2023-02-18Don't ICE on bound types in sized conditionsMichael Goulet-4/+5
2023-02-18Auto merge of #108112 - nnethercote:clarify-iterator-interners, r=oli-obk,com...bors-3/+1
2023-02-17Avoid double-interning some `BoundVariableKind`s.Nicholas Nethercote-2/+0
2023-02-17Replace more `mk_foo` calls with `infer_foo`.Nicholas Nethercote-2/+2
2023-02-17add predicate evaluation logicBoxy-2/+8
2023-02-17Add `Clause::ConstArgHasType` variantBoxy-0/+3
2023-02-17Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwUbors-3/+5
2023-02-16changes from reviewKyle Matsuda-1/+3
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-3/+3
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-1/+1
2023-02-17Rollup merge of #108136 - eggyal:unmet_trait_alias_bound_on_generic_impl, r=c...Matthias Krüger-2/+2
2023-02-17Rollup merge of #107489 - compiler-errors:non_lifetime_binders, r=cjgillotMatthias Krüger-1/+8
2023-02-16Clarify `DerivedObligationCause` may hold alias idAlan Egerton-2/+2
2023-02-16Auto merge of #108127 - matthiaskrgr:rollup-kpzfc6j, r=matthiaskrgrbors-5/+2
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-5/+2