aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/infer
Commit message (Expand)AuthorAgeFilesLines
* Merge #8364bors[bot]2021-04-062-4/+10
|\
| * Use Box'es to reduce the size of hir_def::expr::Pat from 112 to 64 bytes on 6...Alexandru Macovei2021-04-061-2/+2
| * Use Box'es to reduce size of hir_def::expr::Expr from 128 to 72 bytes (on 64b...Alexandru Macovei2021-04-061-2/+8
* | Move Ty accessors to TyExtLukas Wirth2021-04-064-4/+7
* | Add chalk_ir::Const to TyKind::ArrayLukas Wirth2021-04-063-10/+16
* | Use a constructor function for Static lifetimesLukas Wirth2021-04-062-22/+14
* | Add Lifetime to TyKind::RefLukas Wirth2021-04-064-18/+32
|/
* Fix shifting of binders in FnPointerFlorian Diebold2021-04-051-2/+4
* Align FnPointer with ChalkFlorian Diebold2021-04-052-7/+7
* Substitution::prefix -> subst_prefixFlorian Diebold2021-04-051-2/+4
* Substitution::single -> from1Florian Diebold2021-04-051-2/+4
* Move ProjectionTy methods to extension traitFlorian Diebold2021-04-051-2/+2
* Get rid of subst_bound_vars usesFlorian Diebold2021-04-051-3/+3
* Get rid of some walk_mut usesFlorian Diebold2021-04-051-6/+9
* Add Interner parameter to Binders::substituteFlorian Diebold2021-04-053-12/+18
* Binders::subst -> substituteFlorian Diebold2021-04-053-10/+10
* Use VariableKinds in BindersFlorian Diebold2021-04-051-2/+2
* Rename TyKind::Unknown to ErrorLaurențiu Nicola2021-04-052-4/+4
* Move things from `traits` module to `types` as wellFlorian Diebold2021-04-042-4/+4
* Move things in hir_ty into submodulesFlorian Diebold2021-04-044-9/+5
* Replace Substitution::bound_vars and ::type_params_for_genericsFlorian Diebold2021-04-041-1/+1
* Replace last uses of SubstsBuilder by TyBuilderFlorian Diebold2021-04-043-14/+7
* Some more TyBuilder useFlorian Diebold2021-04-041-29/+25
* Replace remaining uses of Substitution::build_for_defFlorian Diebold2021-04-042-5/+2
* More TyBuilder useFlorian Diebold2021-04-041-12/+9
* Add and start using TraitRef and ProjectionTy buildersFlorian Diebold2021-04-041-12/+4
* Add TyBuilder::adtFlorian Diebold2021-04-042-36/+17
* Move Ty::fn_ptr to TyBuilderFlorian Diebold2021-04-041-4/+5
* Add TyBuilder::unit() and TyExt::is_unit()Florian Diebold2021-04-041-11/+11
* Rename Ty::interned to Ty::kindFlorian Diebold2021-04-035-19/+19
* Introduce `GenericArg` like in ChalkFlorian Diebold2021-04-035-46/+58
* Don't recheck obligations if we have learned nothing newFlorian Diebold2021-04-013-5/+11
* internal: ensure that runaway type-inference doesn't block the main loopAleksey Kladov2021-03-291-0/+2
* Merge #8201bors[bot]2021-03-271-0/+1
|\
| * Fix recursive macro statement expansionEdwin Cheng2021-03-251-0/+1
* | completion relevance consider if types can be unifiedJosh Mcguigan2021-03-261-0/+4
|/
* Merge #7907bors[bot]2021-03-242-12/+34
|\
| * hir_ty: don't call write_field_resolution when field candidate isn't visiblecynecx2021-03-241-6/+4
| * hir_ty: introduce visible_from_module param into method resolutioncynecx2021-03-202-0/+2
| * hir_ty: check field visibility while iterating through autoderef candidatescynecx2021-03-201-14/+36
* | Merge #8139bors[bot]2021-03-223-30/+43
|\ \
| * | Align InEnvironment with ChalkFlorian Diebold2021-03-213-16/+13
| * | Align Canonical more with Chalk's versionFlorian Diebold2021-03-211-14/+30
* | | Merge #8136 #8146bors[bot]2021-03-222-4/+16
|\| |
| * | Use QuantifiedWhereClause in generic_predicates as wellFlorian Diebold2021-03-211-1/+4
| * | Introduce QuantifiedWhereClause and DynTy analogous to ChalkFlorian Diebold2021-03-211-3/+12
* | | Fix box pattern inference panicLukas Wirth2021-03-212-9/+29
|/ /
* / clippy::complexity simplifications related to IteratorsMatthias Krüger2021-03-211-1/+1
|/
* Turn Obligation into something similar to chalk_ir::DomainGoalFlorian Diebold2021-03-204-30/+27
* Rename GenericPredicate -> WhereClauseFlorian Diebold2021-03-201-11/+6