aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/mock.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix name resolution across source rootsFlorian Diebold2019-01-081-11/+36
| | | | It was using the wrong name in that case.
* Add fn signature queryFlorian Diebold2019-01-061-0/+1
|
* Add HIR Expr machineryFlorian Diebold2019-01-051-0/+2
|
* Rename ImplsInCrateQuery as wellFlorian Diebold2019-01-041-1/+1
|
* Type the self parameterFlorian Diebold2019-01-041-0/+4
|
* Add HIR for impl blocksFlorian Diebold2019-01-041-0/+1
| | | | | | | | | Since we need to be able to go from def to containing impl block, as well as the other direction, and to find all impls for a certain type, a design similar to the one for modules, where we collect all impls for the whole crate and keep them in an arena, seemed fitting. The ImplBlock type, which provides the public interface, then consists only of an Arc to the arena containing all impls, and the index into it.
* rename MFileId -> HirFileIdAleksey Kladov2019-01-011-1/+1
|
* fix testsAleksey Kladov2019-01-011-0/+1
|
* fix testsAleksey Kladov2019-01-011-1/+8
|
* remove FnIdAleksey Kladov2018-12-271-1/+0
|
* Resolve field types lazilyFlorian Diebold2018-12-251-0/+1
| | | | I.e. not already when getting the HIR for the struct.
* Add basic HIR and types for structs/enumsFlorian Diebold2018-12-251-0/+2
|
* Resolve paths to defs (functions currently) during type inferenceFlorian Diebold2018-12-231-0/+1
|
* Add testing infrastructure for type inferenceFlorian Diebold2018-12-231-0/+9
| | | | - move dir_tests to test_utils for that.
* Add beginnings of type infrastructureFlorian Diebold2018-12-231-1/+2
|
* fix testsAleksey Kladov2018-12-201-5/+8
|
* fix hir mockAleksey Kladov2018-12-201-16/+19
|
* resolve extern crates propertlyAleksey Kladov2018-12-091-4/+20
|
* Add functions to DefIdAleksey Kladov2018-12-041-8/+1
|
* Move hir tests to hitAleksey Kladov2018-11-281-0/+172