aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/adt.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement beginnings of genericsFlorian Diebold2019-01-191-1/+4
| | | | | | | - add HIR for generic params - resolve generic params in type paths - add substitions for ADTs - insert type variables for substitutions
* remove Cancelable from TyAleksey Kladov2019-01-151-3/+2
|
* remove Cancelable from adt APIAleksey Kladov2019-01-151-16/+7
|
* Save variant names in EnumData to reduce needless queriesMarcus Klaas de Vries2019-01-101-14/+15
| | | | | | We already have their names when anyway, and when in all (current) situations where we're interested in an Enum's variants, we want their names.
* Implement type inference for enum variantsMarcus Klaas de Vries2019-01-101-20/+85
|
* show field types in completionAleksey Kladov2019-01-091-3/+52
|
* minimize visibilityAleksey Kladov2019-01-081-1/+1
|
* move query impls to adtAleksey Kladov2019-01-081-4/+28
|
* move variant public api to apiAleksey Kladov2019-01-081-34/+1
|
* move variants to APIAleksey Kladov2019-01-081-27/+3
|
* move enum to code_model_apiAleksey Kladov2019-01-081-25/+3
|
* move stuct to code_model_apiAleksey Kladov2019-01-081-20/+4
|
* convert some if-lets to matchAleksey Kladov2019-01-081-12/+9
|
* migrate ra_hir to rowan 2.0Aleksey Kladov2019-01-081-2/+2
|
* move more stuff to idsAleksey Kladov2019-01-011-1/+2
|
* nameify structs&enumsAleksey Kladov2018-12-281-24/+19
|
* completion for enum variantsAleksey Kladov2018-12-281-0/+4
|
* Resolve field types lazilyFlorian Diebold2018-12-251-42/+29
| | | | I.e. not already when getting the HIR for the struct.
* Add a hir::TypeRef as an intermediate between ast::TypeRef and ty::TyFlorian Diebold2018-12-251-2/+2
|
* Handle structs/enums with missing names a bit betterFlorian Diebold2018-12-251-14/+8
|
* Implement basic completion for fieldsFlorian Diebold2018-12-251-1/+13
|
* Type field accessesFlorian Diebold2018-12-251-0/+9
|
* Collect field data for structs/enum variantsFlorian Diebold2018-12-251-7/+62
|
* Infer result of struct literals, and recurse into their child expressionsFlorian Diebold2018-12-251-2/+25
|
* Add basic HIR and types for structs/enumsFlorian Diebold2018-12-251-0/+114