summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/select/mod.rs
AgeCommit message (Expand)AuthorLines
2022-02-18Rollup merge of #93892 - compiler-errors:issue-92917, r=jackh726,nikomatsakisMatthias Krüger-3/+35
2022-02-15Overhaul `Const`.Nicholas Nethercote-4/+4
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1
2022-02-14use an enum in matches_projection_projectionMichael Goulet-13/+24
2022-02-14fast_reject: remove `StripReferences`lcnr-8/+3
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-40/+9
2022-02-10only mark projection as ambiguous if GAT substs are constrainedMichael Goulet-3/+24
2022-02-02Make a comment more obviousOli Scherer-2/+4
2022-02-02Eagerly merge hidden types.Oli Scherer-2/+2
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-9/+38
2022-01-26drive-by: use is_const and is_const_if_constMichael Goulet-3/+1
2022-01-26Improve selection errors for `~const` trait boundsDeadbeef-1/+1
2022-01-25Rollup merge of #93064 - Aaron1011:provisional-dep-node, r=michaelwoeristerMatthias Krüger-12/+51
2022-01-18Properly track `DepNode`s in trait evaluation provisional cacheAaron Hill-12/+51
2022-01-18Check const Drop impls considering ConstIfConst boundsMichael Goulet-4/+4
2022-01-16Auto merge of #92805 - BoxyUwU:revert-lazy-anon-const-substs, r=lcnrbors-8/+4
2022-01-15Rollup merge of #92191 - jackh726:issue-89352, r=nikomatsakisMatthias Krüger-9/+14
2022-01-15attempt to re-add `ty::Unevaluated` visitor and friendsEllen-4/+3
2022-01-15initial revertEllen-11/+8
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-1/+1
2021-12-22When obligation is a sized predicate, prefer projection or object candidates ...Jack Huey-9/+14
2021-12-21Fix bad caching of `~const Drop` boundsDeadbeef-3/+3
2021-12-20Eliminate `ObligationCauseData`.Nicholas Nethercote-2/+1
2021-12-18Re-introduce concept of projection cache 'completion'Aaron Hill-2/+50
2021-12-14extend `simplify_type`lcnr-5/+16
2021-12-12Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk"Deadbeef-152/+84
2021-12-03Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino"Santiago Pastorino-84/+152
2021-12-02Auto merge of #91469 - matthiaskrgr:rollup-xom3j55, r=matthiaskrgrbors-1/+5
2021-12-02Rollup merge of #91329 - Aaron1011:modulo-regions-test, r=jackh726Matthias Krüger-1/+5
2021-12-02Reduce boilerplate around infallible foldersAlan Egerton-1/+1
2021-12-01Cache with consistent env and boundDeadbeef-8/+18
2021-11-29Reformat everythingDeadbeef-4/+1
2021-11-29Avoid storing the ImplPolarity and Constness next to a TraitRef and use Trait...Oli Scherer-21/+17
2021-11-29Replace `ConstnessAnd<TraitRef>` with `TraitPredicate` which conveys the same...Oli Scherer-65/+44
2021-11-29Prefer TraitPredicate over ConstnessAnd<TraitRef>Oli Scherer-24/+9
2021-11-29Use the constness from the param env instead of having a separate dimension f...Oli Scherer-37/+1
2021-11-28Fix incorrect usage of `EvaluatedToOk` when evaluating `TypeOutlives`Aaron Hill-1/+5
2021-11-26Unwrap the results of type foldersLeSeulArtichaut-0/+1
2021-11-08impl Copy/Clone for arrays in std, not in compilerbstrie-6/+2
2021-11-06use matches!() macro in more placesMatthias Krüger-4/+1
2021-10-28Reformat the changed line to make tidy happyIlya Yanok-2/+3
2021-10-28Use `is_global` in `candidate_should_be_dropped_in_favor_of`Ilya Yanok-1/+1
2021-10-24Point at overlapping impls when type annotations are neededEsteban Kuber-6/+17
2021-10-22Fix filter_impls commentSantiago Pastorino-2/+2
2021-10-22Fix debug method nameSantiago Pastorino-1/+1
2021-10-22Move const filter to filter_implsSantiago Pastorino-33/+42
2021-10-20Fix allow_negative_impls logicSantiago Pastorino-2/+2
2021-10-20Add TraitObligation::polarity() for better encapsulationSantiago Pastorino-9/+6
2021-10-20Filter candidates when goal and impl polarity doesn't matchSantiago Pastorino-7/+23
2021-10-20Filter out Negative impls on intercrate mode's ambiguous reasoningSantiago Pastorino-23/+30