summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/select/mod.rs
AgeCommit message (Expand)AuthorLines
2023-03-11fix: evaluate with wrong obligation stackyifei-2/+2
2023-03-03Match unmatched backticks in comments in compiler/est31-1/+1
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-2/+2
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-2/+2
2023-02-21Make hidden type registration opt-in, so that each site can be reviewed on it...Oli Scherer-8/+0
2023-02-18Don't ICE on bound types in sized conditionsMichael Goulet-4/+5
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-1/+1
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16Clarify `DerivedObligationCause` may hold alias idAlan Egerton-1/+1
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
2023-02-15Add specialized variants of `mk_region`.Nicholas Nethercote-1/+1
2023-02-14Auto merge of #103695 - LYF1999:yf/103563, r=lcnrbors-1/+46
2023-02-13fix: Unexpected trait bound not satisfied in HRTByifei-1/+46
2023-02-13Alias folding/visiting traits instead of re-exportAlan Egerton-1/+1
2023-02-10add `AliasEq` to `PredicateKind`Boxy-0/+3
2023-02-07Replacing bound vars is actually instantiating a binderMichael Goulet-4/+4
2023-02-06Rollup merge of #106477 - Nathan-Fenner:nathanf/refined-error-span-trait-impl...Matthias Krüger-1/+2
2023-01-30Modify primary span label for E0308Esteban Küber-1/+3
2023-01-28Rename `is_object_safe` to `check_is_object_safe` to hint side effectsGary Guo-1/+1
2023-01-27Compute generator saved locals on MIR.Camille GILLOT-4/+63
2023-01-27Introduce GeneratorWitnessMIR.Camille GILLOT-0/+9
2023-01-26Use new solver during selectionMichael Goulet-14/+43
2023-01-23Point at specific field in struct literal when trait fulfillment failsNathan Fenner-1/+2
2023-01-17Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnrMatthias Krüger-1/+1
2023-01-17Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726Matthias Krüger-5/+5
2023-01-17change item_bounds query to return EarlyBinder; remove bound_item_bounds queryKyle Matsuda-1/+1
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-5/+5
2023-01-15Remove bound_{explicit,}_item_boundsMichael Goulet-7/+6
2023-01-14change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_re...Kyle Matsuda-1/+1
2023-01-13Auto merge of #106004 - fee1-dead-contrib:const-closures, r=oli-obkbors-12/+15
2023-01-12attempt to make a minimal example workDeadbeef-12/+15
2023-01-11Filter impl and where-clause candidates that reference errorsMichael Goulet-0/+3
2023-01-08Add type flags support for Ty and Const late-bound regionsMichael Goulet-4/+3
2022-12-28Allow trait method paths to satisfy const Fn boundsDeadbeef-0/+8
2022-12-19implement the skeleton of the updated trait solverlcnr-13/+1
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-2/+2
2022-12-13Combine identical alias armsMichael Goulet-7/+3
2022-12-13Combine projection and opaque into aliasMichael Goulet-6/+9
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-2/+2
2022-12-13ProjectionTy.item_def_id -> ProjectionTy.def_idMichael Goulet-2/+2
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-2/+2
2022-12-06Avoid noting cause code (which is usually misc, b/c codegen) for opaque type ...Michael Goulet-10/+3
2022-12-03Don't add a note for implementing a trait if its inner type is erroneousbhbs-15/+20