summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/select/mod.rs
AgeCommit message (Expand)AuthorLines
2021-05-06Pick candidate with fewer bound varsJack Huey-5/+5
2021-05-06Deduplicate ParamCandidates with the same value except for bound varsJack Huey-1/+11
2021-04-19fix few typosklensy-1/+1
2021-04-01Auto merge of #82780 - cjgillot:dep-stream, r=michaelwoeristerbors-1/+1
2021-03-31Add tcx lifetime to BinderJack Huey-4/+7
2021-03-30Adjust profiling.Camille GILLOT-1/+1
2021-03-26Use iter::zip in compiler/Josh Stone-1/+1
2021-03-24Use `EvaluatedToOkModuloRegions` whenever we erase regionsAaron Hill-1/+14
2021-03-21Rollup merge of #83040 - lcnr:unused-ct-substs, r=oli-obkDylan DPC-4/+2
2021-03-20update `const_eval_resolve`lcnr-9/+2
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-1/+6
2021-03-02errooaaar~Ellen-1/+3
2021-02-18Rollup merge of #82066 - matthewjasper:trait-ref-fix, r=jackh726Dylan DPC-9/+11
2021-02-15Add `ptr::Pointee` trait (for all types) and `ptr::metadata` functionSimon Sapin-4/+14
2021-02-13Don't go through TraitRef to relate projectionsMatthew Jasper-9/+11
2021-01-28Auto merge of #81055 - matthewjasper:non-fatal-overflow, r=nikomatsakisbors-4/+0
2021-01-16Review changesJack Huey-15/+15
2021-01-15Make hitting the recursion limit in projection non-fatalMatthew Jasper-4/+0
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-5/+5
2020-12-20Prevent caching projections in the case of cyclesMatthew Jasper-0/+4
2020-12-19More rebindsJack Huey-17/+18
2020-11-28Remove unnecessary `mut` bindingJoshua Nelson-2/+1
2020-11-23Rollup merge of #79325 - LingMan:try_op, r=jonas-schievinkJonas Schievink-7/+3
2020-11-23Reduce boilerplate with the `?` operatorLingMan-7/+3
2020-11-22winnow: drop non-const cand. in favor of constJonas Schievink-1/+9
2020-11-22Thread `Constness` through selectionJonas Schievink-3/+3
2020-11-16compiler: fold by valueBastian Kauschke-11/+11
2020-11-10Changed unwrap_or to unwrap_or_else in some places.Nicholas-Baron-1/+1
2020-10-22Normalize when finding trait object candidatesMatthew Jasper-13/+11
2020-10-21Fix ICE from projection cycleMatthew Jasper-8/+3
2020-10-16Review commentsJack Huey-5/+4
2020-10-16map_bound_ref -> rebindJack Huey-20/+15
2020-10-16Use map_bound(_ref) instead of Binder::bind when possibleJack Huey-15/+27
2020-10-15Auto merge of #77873 - sexxi-goose:use_tuple_inference_for_closures, r=nikoma...bors-3/+13
2020-10-14Remove unused code from remaining compiler cratesest31-4/+0
2020-10-11Use tracing spans in rustc_trait_selectionMatthew Jasper-102/+66
2020-10-11Always return tupled_upvar_tys for Closure/Generator consituent tysAman Arora-20/+4
2020-10-11Replace tuple of infer vars for upvar_tys with single infer varRoxane-4/+30
2020-10-06Fix tests from rebaseMatthew Jasper-11/+7
2020-10-06Deduplicate item bounds after normalizationMatthew Jasper-17/+40
2020-10-06Fix rebaseMatthew Jasper-1/+1
2020-10-06Avoid cycle with projections from object typesMatthew Jasper-2/+2
2020-10-06Normalize projection bounds when considering candidatesMatthew Jasper-127/+209
2020-10-06Handle multiple applicable projection candidatesMatthew Jasper-21/+31
2020-10-06Fix bugs in evaluating WellFormed predicatesMatthew Jasper-18/+19
2020-10-06Address review commentsMatthew Jasper-0/+5
2020-10-06Remove unused part of return value from `replace_bound_vars_with_placeholders`Matthew Jasper-3/+3
2020-10-06Check projections are well-formed when using projection candidatesMatthew Jasper-18/+11
2020-10-06Rename projection_predicates to item_boundsMatthew Jasper-4/+2
2020-09-28move candidate_from_obligation_no_cacheBastian Kauschke-155/+0