summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/select
AgeCommit message (Expand)AuthorLines
2021-12-25normalize env constness for nested obligationsDeadbeef-0/+33
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-165/+101
2021-12-08Use Vec extend instead of repeated pushes in several placesJakub Beránek-3/+1
2021-12-03Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino"Santiago Pastorino-101/+165
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-29Completely remove ConstnessAndOli Scherer-2/+2
2021-11-29Avoid storing the ImplPolarity and Constness next to a TraitRef and use Trait...Oli Scherer-31/+31
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-38/+2
2021-11-28Fix incorrect usage of `EvaluatedToOk` when evaluating `TypeOutlives`Aaron Hill-1/+5
2021-11-28Auto merge of #91230 - eggyal:fallible-type-fold, r=jackh726bors-0/+1
2021-11-27Only check for errors in predicate when skipping impl assemblyAaron Hill-1/+4
2021-11-26Unwrap the results of type foldersLeSeulArtichaut-0/+1
2021-11-24Add impl polarity to fieldsDeadbeef-26/+27
2021-11-24Allow more cases to match ~const Drop.Deadbeef-32/+48
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-11-06Auto merge of #88441 - jackh726:closure_norm, r=nikomatsakisbors-10/+24
2021-11-02Rollup merge of #90417 - lcnr:stabilize-relaxed-struct-unsizing, r=wesleywiserMatthias Krüger-40/+12
2021-10-30stabilize `relaxed_struct_unsize`lcnr-40/+12
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-8/+27
2021-10-23Auto merge of #90104 - spastorino:coherence-for-negative-trait, r=nikomatsakisbors-151/+211
2021-10-22Assemple trait alias candidates for negative polaritySantiago Pastorino-0/+1
2021-10-22Add comment about the only way to prove NotImplemented hereSantiago Pastorino-0/+2
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-35/+44
2021-10-20Fix allow_negative_impls logicSantiago Pastorino-2/+2
2021-10-20Add TraitObligation::polarity() for better encapsulationSantiago Pastorino-14/+8
2021-10-20Filter candidates when goal and impl polarity doesn't matchSantiago Pastorino-9/+27
2021-10-20Filter out Negative impls on intercrate mode's ambiguous reasoningSantiago Pastorino-23/+30
2021-10-20Make EvaluationCache consider polarity as cache's keySantiago Pastorino-6/+24
2021-10-20Only assemble_candidates_from_impls for polarity NegativeSantiago Pastorino-58/+62
2021-10-20Consider negative polarity on trait selectionSantiago Pastorino-25/+23
2021-10-20Consider negative polarity on overlap checkSantiago Pastorino-15/+23
2021-10-20Add polarity to TraitPredicateSantiago Pastorino-0/+1
2021-10-18Normalize obligations for closure confirmationjackh726-10/+24
2021-10-16Adopt let_else across the compilerest31-3/+1
2021-10-14Auto merge of #89247 - fee1-dead:const-eval-select, r=oli-obkbors-2/+6