aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* upstream text-utils to text_unitAleksey Kladov2019-01-0810-44/+20
|
* Merge #468bors[bot]2019-01-0821-51/+60
|\ | | | | | | | | | | | | | | 468: decouple ra_editor from other stuff r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * ra_db is independent from editorAleksey Kladov2019-01-087-23/+27
| |
| * add commentAleksey Kladov2019-01-081-0/+9
| |
| * ra_hir does not depend on ra_editorAleksey Kladov2019-01-082-2/+0
| |
| * move node at offset to aglo alreadyAleksey Kladov2019-01-0811-22/+19
| |
| * dont depend on ra_editor directlyAleksey Kladov2019-01-084-4/+5
|/
* Merge #467bors[bot]2019-01-089-144/+153
|\ | | | | | | | | | | | | | | 467: move function to code_model_api r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * move function to code_model_apiAleksey Kladov2019-01-089-144/+153
|/
* Merge #466bors[bot]2019-01-083-15/+13
|\ | | | | | | | | | | | | | | | | | | 466: switch to newer cargo-metadata r=matklad a=matklad This handles renames closes https://github.com/rust-analyzer/rust-analyzer/issues/464 Co-authored-by: Aleksey Kladov <[email protected]>
| * switch to newer cargo-metadataAleksey Kladov2019-01-083-15/+13
|/
* Merge #462bors[bot]2019-01-087-522/+482
|\ | | | | | | | | | | | | | | 462: Remove UI-ish FnSignatureInfo from hir r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * simplifyAleksey Kladov2019-01-081-33/+33
| |
| * simplifyAleksey Kladov2019-01-081-43/+37
| |
| * kill FnSignatureInfoAleksey Kladov2019-01-081-35/+11
| |
| * remove FnSignatureInfo from hirAleksey Kladov2019-01-084-137/+115
| |
| * move testsAleksey Kladov2019-01-082-260/+250
| |
| * introduce CallInfoAleksey Kladov2019-01-083-23/+33
| |
| * move call-info to a separate fileAleksey Kladov2019-01-083-118/+130
|/
* Merge #460bors[bot]2019-01-084-20/+203
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 460: Name resolution fixes r=flodiebold a=flodiebold Found two problems: - use tree desugaring lost the prefix if the path had just one segment (e.g. in `use foo::{bar, baz}`) - when resolving imports across source roots, it actually used the name of the segment from the other source root... so e.g. in `use ra_syntax::foo` it'd map `ra_syntax` to the import instead of `foo` :smile: Both of these are one-line fixes, most of this is making it possible to write tests with multiple source roots. I also left in debug logs for the name resolution, in case it turns out there's still more to fix ;) Co-authored-by: Florian Diebold <[email protected]>
| * Fix name resolution across source rootsFlorian Diebold2019-01-083-19/+173
| | | | | | | | It was using the wrong name in that case.
| * Fix use tree desugaringFlorian Diebold2019-01-082-1/+30
|/
* Merge #458bors[bot]2019-01-084-9/+13
|\ | | | | | | | | | | | | | | 458: dont reexport module id r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * dont reexport module idAleksey Kladov2019-01-084-9/+13
| |
* | Merge #459bors[bot]2019-01-081-6/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 459: use real signature in completion r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | use real signature in completionAleksey Kladov2019-01-081-6/+4
|/ /
* | Merge #457bors[bot]2019-01-086-40/+23
|\ \ | |/ |/| | | | | | | | | | | 457: switch interner to use arena r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * switch interner to use arenaAleksey Kladov2019-01-086-40/+23
|/
* Merge #456bors[bot]2019-01-085-124/+131
|\ | | | | | | | | | | | | | | 456: Move adt to code_model_api r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * minimize visibilityAleksey Kladov2019-01-081-1/+1
| |
| * move query impls to adtAleksey Kladov2019-01-083-25/+31
| |
| * move variant public api to apiAleksey Kladov2019-01-082-34/+28
| |
| * move variants to APIAleksey Kladov2019-01-083-29/+34
| |
| * minorAleksey Kladov2019-01-081-4/+4
| |
| * move enum to code_model_apiAleksey Kladov2019-01-083-29/+26
| |
| * move stuct to code_model_apiAleksey Kladov2019-01-083-22/+27
|/
* Merge #455bors[bot]2019-01-082-16/+62
|\ | | | | | | | | | | | | | | 455: Import fixpoint loop for name resolution r=matklad a=flodiebold This implements reexports, so only the glob import part of #231 remains. Co-authored-by: Florian Diebold <[email protected]>
| * Import fixpoint loop for name resolutionFlorian Diebold2019-01-082-16/+62
| |
* | Merge #454bors[bot]2019-01-085-14/+129
|\ \ | | | | | | | | | | | | | | | | | | | | | 454: If-let to match r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | convert some if-lets to matchAleksey Kladov2019-01-081-12/+9
| | |
| * | assist to convert if-let to matchAleksey Kladov2019-01-084-2/+120
|/ /
* | Merge #453bors[bot]2019-01-0812-59/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | 453: itroduce trait for ast tokens r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | itroduce trait for ast tokensAleksey Kladov2019-01-0812-59/+34
|/ /
* | Merge #449bors[bot]2019-01-0861-3762/+2504
|\ \ | | | | | | | | | | | | | | | | | | | | | 449: switch to new rowan API r=matklad a=matklad closes https://github.com/rust-analyzer/rust-analyzer/issues/448 Co-authored-by: Aleksey Kladov <[email protected]>
| * | switched to published version of rowanAleksey Kladov2019-01-082-4/+3
| | |
| * | migrate ra_lsp_server to new rowanAleksey Kladov2019-01-081-1/+1
| | |
| * | migrate ra_analysis to new rowanAleksey Kladov2019-01-0812-78/+67
| | |
| * | migrate ra_hir to rowan 2.0Aleksey Kladov2019-01-0820-197/+238
| | |
| * | migrate ra_cli to new rowanAleksey Kladov2019-01-081-5/+5
| | |
| * | migrate ra_db to new rowanAleksey Kladov2019-01-083-11/+20
| | |