aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/infer
Commit message (Expand)AuthorAgeFilesLines
* 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
* Move ToChalk -> mappingFlorian Diebold2021-04-091-1/+1
* Reorganize hir_ty modulesFlorian Diebold2021-04-091-1/+2
* CleanupFlorian Diebold2021-04-081-1/+5
* Intern SubstitutionsFlorian Diebold2021-04-083-4/+4
* Remove unusedFlorian Diebold2021-04-083-4/+3
* Fix `Canonicalized::apply_solution`Florian Diebold2021-04-081-13/+16
* Fix missing match armsFlorian Diebold2021-04-081-0/+1
* Fix remaining `interned_mut` callFlorian Diebold2021-04-081-4/+6
* Replace remaining `fold` callsFlorian Diebold2021-04-081-49/+62
* Replace some `fold` callsFlorian Diebold2021-04-081-15/+4
* Fix shifted_{in,out} callsFlorian Diebold2021-04-081-1/+1
* Add HasInterner boundsFlorian Diebold2021-04-081-4/+12
* Merge #8409bors[bot]2021-04-073-3/+4
|\
| * Fix return type of Substitution::internedFlorian Diebold2021-04-071-1/+1
| * InEnvironment::new takes a referenceFlorian Diebold2021-04-071-1/+1
| * Move hir_trait_id to extension traitFlorian Diebold2021-04-071-1/+2
* | Move `equals_ctor` to `TyExt`Florian Diebold2021-04-071-1/+2
|/
* Remove Ty::substs{_mut}Florian Diebold2021-04-072-3/+8
* Remove `SolutionVariables`, add ConstrainedSubst analogous to ChalkFlorian Diebold2021-04-061-2/+9
* Align `InferenceVar` to ChalkFlorian Diebold2021-04-061-12/+24
* infer: remove `record_pat_field_resolutions` fieldJonas Schievink2021-04-061-6/+0
* infer: remove `record_field_resolutions` fieldJonas Schievink2021-04-062-9/+6
* 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