Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle coercing function types to function pointers in match | Florian Diebold | 2020-05-08 | 1 | -11/+23 |
| | | | | | | | | | | | | E.g. in ```rust match x { 1 => function1, 2 => function2, } ``` we need to try coercing both to pointers. Turns out this is a special case in rustc as well (see the link in the comment). | ||||
* | Fix type equality for dyn Trait | Florian Diebold | 2020-04-17 | 1 | -2/+2 |
| | | | | | | | Fixes a lot of false type mismatches. (And as always when touching the unification code, I have to say I'm looking forward to replacing it by Chalk's...) | ||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -5/+3 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Implement unsize coercion using proper trait solving | Florian Diebold | 2020-02-22 | 1 | -179/+26 |
| | |||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 1 | -4/+3 |
| | |||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -4/+2 |
| | |||||
* | Formatting | Florian Diebold | 2020-02-07 | 1 | -6/+2 |
| | |||||
* | Change Ty::Param to contain param ID | Florian Diebold | 2020-02-07 | 1 | -8/+8 |
| | |||||
* | Coerce closures to fn pointers | Florian Diebold | 2019-12-20 | 1 | -0/+4 |
| | | | | E.g. `let x: fn(A) -> B = |x| { y };` | ||||
* | Fix coercion from &Foo to an inference variable in a reference | Florian Diebold | 2019-12-08 | 1 | -1/+5 |
| | | | | We didn't try to unify within the reference, but we should. | ||||
* | Check receiver type properly | Florian Diebold | 2019-12-02 | 1 | -1/+1 |
| | |||||
* | Extract unification code to unify module | Florian Diebold | 2019-12-02 | 1 | -5/+5 |
| | |||||
* | Handle cycles in impl types better | Florian Diebold | 2019-11-30 | 1 | -5/+2 |
| | | | | | | - impl Trait<Self> for S is allowed - impl Trait for S<Self> is an invalid cycle, but we can add cycle recovery for it in Salsa now | ||||
* | Memoize impl resolutions | Aleksey Kladov | 2019-11-27 | 1 | -16/+6 |
| | |||||
* | Move Ty | Aleksey Kladov | 2019-11-27 | 1 | -0/+354 |