aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/infer/coerce.rs
Commit message (Collapse)AuthorAgeFilesLines
* Turn Obligation into something similar to chalk_ir::DomainGoalFlorian Diebold2021-03-201-4/+3
| | | | This includes starting to make use of Chalk's `Cast` trait.
* Chalkify TraitRefFlorian Diebold2021-03-181-2/+4
|
* Rename Substs -> SubstitutionFlorian Diebold2021-03-161-2/+4
|
* Don't use Substs for Ref/Raw/Array/SliceFlorian Diebold2021-03-141-8/+2
|
* Make Ty wrap TyKind in an ArcFlorian Diebold2021-03-141-1/+1
| | | | | | | | ... like it will be in Chalk. We still keep `interned_mut` and `into_inner` methods that will probably not exist with Chalk. This worsens performance slightly (5ginstr inference on RA), but doesn't include other simplifications we can do yet.
* Separate `Ty` and `TyKind` like in ChalkFlorian Diebold2021-03-131-17/+21
| | | | | Currently `Ty` just wraps `TyKind`, but this allows us to change most places to already use `intern` / `interned`.
* Use upstream cov-markLaurențiu Nicola2021-03-081-3/+2
|
* Use chalk_ir::MutabilityLukas Wirth2021-03-011-7/+7
|
* Introduce Ty::AliasLukas Wirth2021-03-011-5/+5
|
* Being Ty::InferenceVar closes to chalk equivalentLukas Wirth2021-03-011-4/+4
|
* Lift FnPointer into a structLukas Wirth2021-02-281-2/+2
|
* Inline TypeCtor into TyLukas Wirth2021-02-281-43/+36
|
* Rename ra_hir_ty -> hir_tyAleksey Kladov2020-08-131-0/+197