Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework obligation handling | Florian Diebold | 2021-05-21 | 1 | -21/+19 |
| | | | | | | | | We can't do the easy hack that we did before anymore, where we kept track of whether any inference variables changed since the last time we rechecked obligations. Instead, we store the obligations in canonicalized form; that way we can easily check the inference variables to see whether they have changed since the goal was canonicalized. | ||||
* | More cleanups / module docs | Florian Diebold | 2021-04-09 | 1 | -1/+3 |
| | |||||
* | Move ToChalk -> mapping | Florian Diebold | 2021-04-09 | 1 | -1/+1 |
| | |||||
* | Reorganize hir_ty modules | Florian Diebold | 2021-04-09 | 1 | -9/+5 |
| | | | | | Chalk isn't really a 'traits' thing anymore, so it doesn't make sense to have all the Chalk-related stuff in submodules of `traits`. | ||||
* | Remove unused | Florian Diebold | 2021-04-08 | 1 | -10/+2 |
| | |||||
* | Remove identity impls for ToChalk | Florian Diebold | 2021-04-08 | 1 | -1/+1 |
| | |||||
* | Fix missing match arms | Florian Diebold | 2021-04-08 | 1 | -0/+1 |
| | |||||
* | Make ToChalk implementations identity | Florian Diebold | 2021-04-08 | 1 | -14/+1 |
| | |||||
* | Move hir_trait_id to extension trait | Florian Diebold | 2021-04-07 | 1 | -1/+1 |
| | |||||
* | Remove `SolutionVariables`, add ConstrainedSubst analogous to Chalk | Florian Diebold | 2021-04-06 | 1 | -12/+4 |
| | | | | ... just missing the constraints. | ||||
* | Pass interner to ProjectionTy::self_type_parameter | Laurențiu Nicola | 2021-04-05 | 1 | -1/+1 |
| | |||||
* | Move things from `traits` module to `types` as well | Florian Diebold | 2021-04-04 | 1 | -86/+2 |
| | |||||
* | Rename Ty::interned to Ty::kind | Florian Diebold | 2021-04-03 | 1 | -1/+1 |
| | | | | ... since that's the actual method on Chalk side that matches the signature. | ||||
* | Introduce `GenericArg` like in Chalk | Florian Diebold | 2021-04-03 | 1 | -1/+1 |
| | | | | | | | Plus some more adaptations to Substitution. Lots of `assert_ty_ref` that we should revisit when introducing lifetime/const parameters. | ||||
* | Align InEnvironment with Chalk | Florian Diebold | 2021-03-21 | 1 | -9/+8 |
| | | | | | | This in particular means storing a chalk_ir::Environment, not our TraitEnvironment. This makes InEnvironment not usable for Type, where we need to keep the full TraitEnvironment. | ||||
* | Turn Obligation into something similar to chalk_ir::DomainGoal | Florian Diebold | 2021-03-20 | 1 | -21/+13 |
| | | | | This includes starting to make use of Chalk's `Cast` trait. | ||||
* | Remove WhereClause::Error | Florian Diebold | 2021-03-20 | 1 | -1/+0 |
| | | | | | Chalk doesn't have it, and judging from the removed code, it wasn't useful anyway. | ||||
* | Rename GenericPredicate -> WhereClause | Florian Diebold | 2021-03-20 | 1 | -6/+6 |
| | |||||
* | Replace Projection variant in GenericPredicate with AliasEq | Lukas Wirth | 2021-03-19 | 1 | -16/+21 |
| | |||||
* | Chalkify TraitRef | Florian Diebold | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Rename Substs -> Substitution | Florian Diebold | 2021-03-16 | 1 | -2/+2 |
| | |||||
* | Rename some fields to their Chalk names | Florian Diebold | 2021-03-14 | 1 | -1/+1 |
| | |||||
* | Create TraitEnvironment through a query | Florian Diebold | 2021-03-13 | 1 | -0/+9 |
| | |||||
* | Separate `Ty` and `TyKind` like in Chalk | Florian Diebold | 2021-03-13 | 1 | -2/+4 |
| | | | | | Currently `Ty` just wraps `TyKind`, but this allows us to change most places to already use `intern` / `interned`. | ||||
* | Use Chalk Environment more directly | Florian Diebold | 2021-03-12 | 1 | -10/+13 |
| | |||||
* | Introduce Ty::Alias | Lukas Wirth | 2021-03-01 | 1 | -1/+1 |
| | |||||
* | Upgrade Chalk | Florian Diebold | 2020-12-07 | 1 | -8/+5 |
| | | | | | | | Also make overflow depth and max type size configurable through env variables. This can be helpful at least for debugging. Fixes #6628. | ||||
* | Improve Chalk debugging | Florian Diebold | 2020-10-23 | 1 | -7/+23 |
| | | | | | | - add panic context for the trait goal if CHALK_DEBUG is set - print the Chalk program even if we're panicking - log goal/solution while TLS is still set | ||||
* | Chalk 0.23 | Jeremy Kolb | 2020-08-16 | 1 | -2/+2 |
| | |||||
* | Only print chalk programs with CHALK_PRINT | Wilco Kusee | 2020-08-14 | 1 | -10/+15 |
| | |||||
* | Only use logging db if CHALK_DEBUG is active | Wilco Kusee | 2020-08-14 | 1 | -12/+15 |
| | |||||
* | Print chalk programs in debug output | Wilco Kusee | 2020-08-14 | 1 | -2/+7 |
| | |||||
* | Rename ra_hir_ty -> hir_ty | Aleksey Kladov | 2020-08-13 | 1 | -0/+272 |