about summary refs log tree commit diff
path: root/compiler/rustc_infer/src/traits
AgeCommit message (Expand)AuthorLines
2022-02-14Call the method fork instead of clone and add proper commentsSantiago Pastorino-1/+1
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-3/+0
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-0/+3
2022-01-28Remove generalization over projectionkadmin-2/+6
2022-01-16Rollup merge of #92710 - jackh726:issue-92280, r=nikomatsakisMatthias Krüger-4/+13
2022-01-15Rollup merge of #92191 - jackh726:issue-89352, r=nikomatsakisMatthias Krüger-1/+1
2022-01-10Elaborate param_env predicates when checking if type outlives involving proje...Jack Huey-4/+13
2021-12-22When obligation is a sized predicate, prefer projection or object candidates ...Jack Huey-1/+1
2021-12-20Eliminate `ObligationCauseData`.Nicholas Nethercote-1/+1
2021-12-19Rollup merge of #91878 - LegionMammal978:less-inband-infer, r=Aaron1011Matthias Krüger-9/+9
2021-12-18Re-introduce concept of projection cache 'completion'Aaron Hill-3/+69
2021-12-13Remove `in_band_lifetimes` from `rustc_infer`LegionMammal978-9/+9
2021-12-12Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk"Deadbeef-24/+16
2021-12-03Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino"Santiago Pastorino-16/+24
2021-12-02Rename TypeFolderFallible to FallibleTypeFolderAlan Egerton-2/+2
2021-12-02Reduce boilerplate around infallible foldersAlan Egerton-4/+7
2021-11-29Reformat everythingDeadbeef-4/+2
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-4/+4
2021-11-29Use the constness from the param env instead of having a separate dimension f...Oli Scherer-18/+12
2021-11-28Auto merge of #91230 - eggyal:fallible-type-fold, r=jackh726bors-5/+5
2021-11-26Make `TypeFoldable` implementors short-circuit on errorLeSeulArtichaut-5/+5
2021-11-25Visit `param_env` field in Obligation's `TypeFoldable` implAaron Hill-1/+2
2021-11-14Fix span for non-satisfied trivial trait boundsNilstrieb-0/+17
2021-11-11Auto merge of #90648 - matthewjasper:assoc-item-cleanup, r=cjgillotbors-3/+2
2021-11-08fmtDeadbeef-8/+3
2021-11-08Make select_* methods return Vec for TraitEngineDeadbeef-4/+4
2021-11-07Remove some fields from `ObligationCauseCode`Matthew Jasper-3/+2
2021-10-23Auto merge of #90104 - spastorino:coherence-for-negative-trait, r=nikomatsakisbors-1/+19
2021-10-22Document flip polaritySantiago Pastorino-0/+3
2021-10-20Add TraitObligation::polarity() for better encapsulationSantiago Pastorino-0/+4
2021-10-20Consider negative polarity on overlap checkSantiago Pastorino-1/+12
2021-10-15Move push_outlives_components to rustc_inferjackh726-2/+2
2021-09-24Rollup merge of #89001 - jackh726:binder-cleanup, r=nikomatsakisJubilee-1/+2
2021-09-17Add another case of fallback to () avoid breakageMark Rousskov-0/+3
2021-09-17Auto merge of #88945 - Aaron1011:no-projection-completion, r=wesleywiser,jack...bors-41/+0
2021-09-16Auto merge of #88719 - estebank:point-at-arg-for-obligation, r=nagisabors-5/+1
2021-09-16Refactor `FulfillmentError` to track less dataEsteban Kuber-5/+1
2021-09-15Remove ToPredicate impls that use Binder::dummyjackh726-1/+2
2021-09-15Move object safety suggestions to the end of the errorEsteban Kuber-4/+8
2021-09-14Remove concept of 'completion' from the projection cacheAaron Hill-41/+0
2021-08-25Rollup merge of #88218 - Aaron1011:missing-method-dyn, r=nagisaLéo Lanteri Thauvin-6/+0
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-21Remove `Session.trait_methods_not_found`Aaron Hill-6/+0
2021-08-19introduce a Coerce predicateNiko Matsakis-0/+4
2021-08-14Assign FIXMEs to me and remove obsolete onesDeadbeef-1/+1
2021-08-13Pass constness to SelectionContextDeadbeef-0/+18
2021-08-13move Constness into TraitPredicateDeadbeef-1/+1
2021-07-20Refactor vtable format.Charles Lew-3/+3
2021-07-16Add initial implementation of HIR-based WF checking for diagnosticsAaron Hill-1/+6