aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/infer
Commit message (Expand)AuthorAgeFilesLines
* cargo fmtMaan20032021-06-131-7/+1
* clippy::redundant_field_namesMaan20032021-06-131-1/+1
* clippy::redudant_borrowMaan20032021-06-134-11/+11
* Fix coercion in match with expected typeFlorian Diebold2021-06-121-1/+6
* Merge #9105bors[bot]2021-06-031-0/+7
|\
| * internal: implement pattern adjustments.Dawer2021-06-011-0/+7
* | Fix bind patterns always being treated as ref taking patternsLukas Wirth2021-06-021-0/+4
|/
* hir_ty: use correct receiver_ty in method resolutioncynecx2021-05-311-11/+2
* Update salsaJonas Schievink2021-05-271-1/+1
* Merge #9007bors[bot]2021-05-263-17/+15
|\
| * clippy::redundant_clone fixesLaurențiu Nicola2021-05-263-17/+15
* | Fix type mismatch caused by macrosFlorian Diebold2021-05-251-1/+1
|/
* Record method call substs and use them in call infoFlorian Diebold2021-05-232-18/+23
* Resolve any lifetime variables to 'static after inferenceFlorian Diebold2021-05-221-1/+13
* Clean up visibilitiesFlorian Diebold2021-05-211-10/+10
* Some remaining cleanupsFlorian Diebold2021-05-212-14/+13
* Record type mismatches for failed coercions in match etc.Florian Diebold2021-05-212-15/+21
* Refactor expectation handlingFlorian Diebold2021-05-212-34/+49
* Remove TypeVariableTableFlorian Diebold2021-05-212-56/+48
* Deal with goals arising from unificationFlorian Diebold2021-05-212-14/+17
* Get rid of resolve_ty_as_possibleFlorian Diebold2021-05-215-62/+30
* Make resolve_ty_shallow return TyFlorian Diebold2021-05-212-11/+6
* Rework obligation handlingFlorian Diebold2021-05-214-31/+157
* Fix another panicFlorian Diebold2021-05-211-17/+15
* Fix panicFlorian Diebold2021-05-211-1/+4
* Fix HIR expecting errors to unify with anythingFlorian Diebold2021-05-211-2/+6
* Fix if/else coercionFlorian Diebold2021-05-211-1/+4
* Make diverging type variables work againFlorian Diebold2021-05-211-0/+20
* Fix handling of diverging branches in match coercionFlorian Diebold2021-05-211-4/+13
* Fix coercion of two closures to a function pointerFlorian Diebold2021-05-211-19/+31
* Update tests with expected changesFlorian Diebold2021-05-211-3/+0
* Make type resolver a proper folder, make it resolve consts as wellFlorian Diebold2021-05-211-48/+117
* Fix fallback to bound vars in `unify`Florian Diebold2021-05-211-45/+78
* Temporary fix for unknown expectationsFlorian Diebold2021-05-211-0/+4
* Fix warnings & formatFlorian Diebold2021-05-212-17/+8
* Rewrite coercion using the new unificationFlorian Diebold2021-05-212-96/+342
* Remove our unification code, use Chalk's insteadFlorian Diebold2021-05-214-414/+109
* internal: Record mismatches of pattern types.Dawer2021-05-192-6/+10
* Merge #8813bors[bot]2021-05-161-20/+12
|\
| * Address final feedbackJade2021-05-161-3/+2
| * Add more tests, refactor array lengths/consteval workJade2021-05-141-33/+8
| * Add support for lengths in array repeats, if they are literalsJade2021-05-131-6/+16
| * Support length for ByteStringsJade2021-05-131-6/+14
| * Add lowering of array lengths in typesJade2021-05-131-4/+4
* | Fix false positive "Missing match arm".Dawer2021-05-141-4/+5
|/
* Merge #8799bors[bot]2021-05-121-6/+20
|\
| * address review by @eddybJade2021-05-111-1/+1
| * Add basic support for array lengths in typesJade2021-05-111-6/+20
* | Fix inference with conditionally compiled tailsDaniel McNab2021-05-031-1/+1
|/
* fix: closure unify without check ClosureIdComonad2021-04-291-0/+4