summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/select
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-5/+5
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-41/+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/+39
2022-01-26drive-by: use is_const and is_const_if_constMichael Goulet-7/+3
2022-01-26Improve selection errors for `~const` trait boundsDeadbeef-3/+3
2022-01-25Rollup merge of #93064 - Aaron1011:provisional-dep-node, r=michaelwoeristerMatthias Krüger-12/+51
2022-01-19Foreign types are trivially dropMichael Goulet-2/+3
2022-01-19skip some layers in const drop confirmationMichael Goulet-70/+91
2022-01-19never type is const DropMichael Goulet-3/+5
2022-01-18Properly track `DepNode`s in trait evaluation provisional cacheAaron Hill-12/+51
2022-01-18Check const Drop impls considering ConstIfConst boundsMichael Goulet-136/+170
2022-01-16Rollup merge of #92710 - jackh726:issue-92280, r=nikomatsakisMatthias Krüger-1/+3
2022-01-16Auto merge of #92805 - BoxyUwU:revert-lazy-anon-const-substs, r=lcnrbors-10/+6
2022-01-15Rollup merge of #92191 - jackh726:issue-89352, r=nikomatsakisMatthias Krüger-15/+24
2022-01-15attempt to re-add `ty::Unevaluated` visitor and friendsEllen-4/+3
2022-01-15initial revertEllen-13/+10
2022-01-10Elaborate param_env predicates when checking if type outlives involving proje...Jack Huey-1/+3
2022-01-09eplace usages of vec![].into_iter with [].into_iterLucas Kent-1/+1
2021-12-25normalize env constness for nested obligationsDeadbeef-0/+33
2021-12-22When obligation is a sized predicate, prefer projection or object candidates ...Jack Huey-15/+24
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