aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests/data/0004_struct.txt
Commit message (Collapse)AuthorAgeFilesLines
* Sort ranges in type inference testsFlorian Diebold2019-01-061-16/+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-1/+1
| | | | | Now we can reuse the type inference inside a function when typing whitespace etc. :)
* Implement type variablesFlorian Diebold2018-12-291-2/+2
| | | | | | | | | 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.
* Type field accessesFlorian Diebold2018-12-251-2/+4
|
* Infer result of struct literals, and recurse into their child expressionsFlorian Diebold2018-12-251-4/+8
|
* Do name resolution by namespace (types/values)Florian Diebold2018-12-251-2/+2
|
* Add basic HIR and types for structs/enumsFlorian Diebold2018-12-251-0/+10