aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/mock.rs
Commit message (Collapse)AuthorAgeFilesLines
* Generics -> GenericParamsFlorian Diebold2019-01-191-1/+1
|
* Implement beginnings of genericsFlorian Diebold2019-01-191-0/+1
| | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
* fix the testAleksey Kladov2019-01-191-1/+3
|
* :arrow_up: salsaAleksey Kladov2019-01-171-4/+6
|
* Implement basic inherent method resolutionFlorian Diebold2019-01-121-0/+1
|
* Implement type inference for enum variantsMarcus Klaas de Vries2019-01-101-0/+1
|
* implement RefUnwindSafeAleksey Kladov2019-01-101-1/+3
|
* ra_db is independent from editorAleksey Kladov2019-01-081-1/+0
|
* 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