aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests/data/0006_backwards.txt
Commit message (Collapse)AuthorAgeFilesLines
* Sort ranges in type inference testsFlorian Diebold2019-01-061-20/+0
| | | | | Also rename the files to remove the numbers (they don't serve a purpose now that there are only the data files).
* Use HIR Expr for type inferenceFlorian Diebold2019-01-061-3/+3
| | | | | Now we can reuse the type inference inside a function when typing whitespace etc. :)
* Missing return type means unit, not unknownFlorian Diebold2018-12-291-2/+2
|
* Implement type variablesFlorian Diebold2018-12-291-0/+20
This will really become necessary when we implement generics, but even now, it allows us to reason 'backwards' to infer types of expressions that we didn't understand for some reason. We use ena, the union-find implementation extracted from rustc, to keep track of type variables.