Aleksey Kladov
|
56710f119b
|
Move enum&union to new loc
|
2019-12-12 15:11:57 +01:00 |
|
Aleksey Kladov
|
f135a8ea55
|
Move structs to new loc
|
2019-12-12 14:58:04 +01:00 |
|
Aleksey Kladov
|
82e9b24558
|
Move traits to the new loc
|
2019-12-12 14:36:14 +01:00 |
|
Aleksey Kladov
|
7b0644d81e
|
Switch to the new location for impls
|
2019-12-12 14:25:34 +01:00 |
|
Aleksey Kladov
|
61c3887b70
|
Remove one more Ty
|
2019-12-08 17:50:43 +01:00 |
|
Aleksey Kladov
|
6805bb01e2
|
Cleanup module structure
|
2019-12-08 17:45:14 +01:00 |
|
Aleksey Kladov
|
e2cc552076
|
Remove dead code
|
2019-12-08 12:51:25 +01:00 |
|
Aleksey Kladov
|
b37c6a746b
|
Remove ty from code_model
|
2019-12-08 12:44:14 +01:00 |
|
Aleksey Kladov
|
b77d7c24aa
|
Remove bodies from code_model
|
2019-12-08 12:27:21 +01:00 |
|
Aleksey Kladov
|
b017bae837
|
remove infer method from CodeModel
|
2019-12-08 12:26:53 +01:00 |
|
Aleksey Kladov
|
7aacf9a197
|
Drop some unused methods
|
2019-12-08 12:24:21 +01:00 |
|
Aleksey Kladov
|
200bda3daf
|
Cleanup Field ty
|
2019-12-08 12:16:57 +01:00 |
|
Aleksey Kladov
|
08d3166c8b
|
Cleanup Crate API
|
2019-12-08 12:02:53 +01:00 |
|
Aleksey Kladov
|
88c5b1282a
|
Rename GenericParam -> TypeParam
We don't have LifetimeParam yet, but they are planned!
|
2019-12-07 20:25:48 +01:00 |
|
Aleksey Kladov
|
7d2080a031
|
Classify name works for TypeParams
|
2019-12-07 19:52:09 +01:00 |
|
Aleksey Kladov
|
1692f07393
|
ToNav for GenericParam
|
2019-12-07 19:44:43 +01:00 |
|
Aleksey Kladov
|
8e9837df21
|
Remove idx and parent generics from generics
This makes `hir_def::GenericParams` flatter. The logic for
re-numbering the params is moved to hir instead.
|
2019-12-07 13:05:56 +01:00 |
|
ice1000
|
38853459e3
|
Add ModuleSource::Block
|
2019-12-04 18:30:42 -05:00 |
|
ice1000
|
009437f5d9
|
Replace ra_hir_expand::either with crate
|
2019-12-03 11:07:56 -05:00 |
|
Aleksey Kladov
|
ccd1b0800a
|
Rename Source -> InFile
|
2019-11-28 12:50:26 +03:00 |
|
Aleksey Kladov
|
1d14fd1737
|
Use Name::missing consistently
|
2019-11-27 23:22:20 +03:00 |
|
Aleksey Kladov
|
04735abfae
|
Minimize API
|
2019-11-27 22:21:01 +03:00 |
|
Aleksey Kladov
|
d9a36a736b
|
Rename module_id -> local_id
|
2019-11-27 21:31:51 +03:00 |
|
Aleksey Kladov
|
a87579500a
|
Move Ty
|
2019-11-27 21:16:00 +03:00 |
|
Aleksey Kladov
|
9fa46ff5c6
|
Use Id for variats
|
2019-11-27 16:25:01 +03:00 |
|
Aleksey Kladov
|
17680f6060
|
More decoupling
|
2019-11-27 16:02:33 +03:00 |
|
Aleksey Kladov
|
d569869f7a
|
Decouple more
|
2019-11-27 15:56:20 +03:00 |
|
Aleksey Kladov
|
bed6869865
|
Cleanup
|
2019-11-26 22:56:07 +03:00 |
|
Aleksey Kladov
|
cace49e9a7
|
Decouple
|
2019-11-26 22:31:04 +03:00 |
|
Aleksey Kladov
|
936c6950e7
|
Remove last traces of adt from Ty
|
2019-11-26 21:32:39 +03:00 |
|
Aleksey Kladov
|
882fe0a47e
|
More precise NameKind::Self
|
2019-11-26 21:32:39 +03:00 |
|
Aleksey Kladov
|
4e415a269e
|
Remove ns-polymorphic type_for_def
|
2019-11-26 21:04:24 +03:00 |
|
Aleksey Kladov
|
72d8e7e69a
|
Use TraitId in TraitRef
|
2019-11-26 18:01:34 +03:00 |
|
Aleksey Kladov
|
24b1e79af5
|
Remove another helper
|
2019-11-26 17:45:06 +03:00 |
|
Aleksey Kladov
|
d118997b93
|
Remove assoc_type_by_name helper
|
2019-11-26 17:44:43 +03:00 |
|
Aleksey Kladov
|
9bc8f1f4f8
|
Store names in TraitData
|
2019-11-26 17:44:43 +03:00 |
|
Aleksey Kladov
|
4a0792362e
|
Detangle ty from traits a bit
|
2019-11-26 17:44:43 +03:00 |
|
Aleksey Kladov
|
45d05ed783
|
id-ify impls_in_crate_query
|
2019-11-26 15:36:25 +03:00 |
|
Aleksey Kladov
|
a443b5033c
|
Id-ify Ty::Adt
|
2019-11-26 14:29:12 +03:00 |
|
Aleksey Kladov
|
e5eadb3390
|
Introduce hir::Type
It should provide a convenient API over more low-level Ty
|
2019-11-26 14:02:57 +03:00 |
|
Aleksey Kladov
|
3e32ac4f86
|
More ids in Ty
|
2019-11-25 18:31:48 +03:00 |
|
Aleksey Kladov
|
5fd68b5929
|
Fix hir for ast::UnionDef
|
2019-11-25 17:50:49 +03:00 |
|
Aleksey Kladov
|
5f39c5794e
|
Use GenericDefIdMore
|
2019-11-25 15:54:03 +03:00 |
|
Aleksey Kladov
|
d06904e90c
|
Switch to variant-granularity field type inference
|
2019-11-25 00:12:36 +03:00 |
|
Aleksey Kladov
|
586acef528
|
Simplify ADT fields
|
2019-11-24 22:44:24 +03:00 |
|
Aleksey Kladov
|
191b1d238f
|
Remove impl_block module
|
2019-11-24 21:17:37 +03:00 |
|
Aleksey Kladov
|
e48430cbae
|
Simplify
|
2019-11-24 20:53:42 +03:00 |
|
Aleksey Kladov
|
63e3ea38d3
|
Don't redo field resolution in the IDE
|
2019-11-24 20:06:55 +03:00 |
|
Aleksey Kladov
|
f5e0a31eaf
|
Cleanup nameres
|
2019-11-24 18:05:12 +03:00 |
|
Aleksey Kladov
|
99af523b68
|
Cleanup
|
2019-11-24 17:36:06 +03:00 |
|