aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge #983bors[bot]2019-03-173-0/+218
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 983: support remainder assignment operator r=matklad a=JeanMertz `%=` was returning errors for me, turns out it wasn't added as a valid assignment operation. I'm not sure what the best location would be to add a test for this. Please let me know and I'll add one. Co-authored-by: Jean Mertz <[email protected]>
| * | | | support remainder assignment operatorJean Mertz2019-03-173-0/+218
| | | | |
* | | | | Fix parse tree of attribute on match armpcpthm2019-03-174-133/+133
| |_|/ / |/| | |
* | | | Merge #985bors[bot]2019-03-171-57/+56
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 985: simplify parsing blocks a bit r=pcpthm a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | simplify parsing blocks a bitAleksey Kladov2019-03-171-57/+56
| | | | |
* | | | | Allow attribute on struct literal fieldpcpthm2019-03-173-1/+54
|/ / / /
* | | | docsAleksey Kladov2019-03-171-9/+15
| | | |
* | | | remove fixmeAleksey Kladov2019-03-171-2/+1
| | | |
* | | | remove old macro supportAleksey Kladov2019-03-178-261/+95
| | | |
* | | | rename ModuleId -> CrateModuleIdAleksey Kladov2019-03-178-39/+40
| | | |
* | | | fix error on wrong pathAleksey Kladov2019-03-174-12/+43
| | | |
* | | | log timeAleksey Kladov2019-03-171-0/+2
| | | |
* | | | Reorganize name resolutionAleksey Kladov2019-03-1714-522/+481
| | | |
* | | | hack around non-terminating macro expansionAleksey Kladov2019-03-171-0/+14
| | | |
* | | | remove lower moduleAleksey Kladov2019-03-1712-264/+48
| | | |
* | | | remove ItemMapAleksey Kladov2019-03-177-569/+59
| | | |
* | | | move tests over to crate-def-mapAleksey Kladov2019-03-179-850/+689
| | | |
* | | | Replace module_tree with CrateDefMapAleksey Kladov2019-03-1716-511/+333
| | | |
* | | | add name resolution from the old implAleksey Kladov2019-03-179-185/+739
| | | | | | | | | | | | | | | | unlike the old impl, this also handles macro imports across crates
* | | | add skeleton for macro-aware name resolutionsAleksey Kladov2019-03-178-9/+773
| | | |
* | | | Move the primary assist fn to the top of the fileIgor Matuszewski2019-03-161-30/+30
| | | |
* | | | Provide assist when cursor is immediately outside impl item blockIgor Matuszewski2019-03-161-14/+18
| | | |
* | | | Do a cleanup/legibility passIgor Matuszewski2019-03-161-21/+21
| | | |
* | | | Take into account parent indent when filling trait membersIgor Matuszewski2019-03-161-9/+41
| | | |
* | | | Simplify trait resolution fragmentIgor Matuszewski2019-03-161-6/+3
| | | |
* | | | Ignore unnamed trait fns and add more testsIgor Matuszewski2019-03-161-2/+70
| | | |
* | | | Simplify calculation of missing functionsIgor Matuszewski2019-03-161-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | Asymptotically computing a set difference is faster but in the average case we won't have more than ~10 functions. Also prefer not using hash sets as these may yield nondeterministic results.
* | | | Properly support the case when the cursor is inside an empty block or outsideIgor Matuszewski2019-03-161-15/+44
| | | |
* | | | Redo indent calculation when adding missing impl membersIgor Matuszewski2019-03-161-9/+21
| | | |
* | | | Implement a simple working assistIgor Matuszewski2019-03-161-13/+59
| | | |
* | | | Calculate missing functions from impl bodyIgor Matuszewski2019-03-161-1/+62
| | | |
* | | | Add 'add_missing_impl_members' assist stubIgor Matuszewski2019-03-162-0/+43
|/ / /
* | | Remove FnSig from FnDef typeFlorian Diebold2019-03-164-21/+26
| | | | | | | | | | | | | | | It doesn't need to be in there since it's just information from the def. Another step towards aligning Ty with Chalk's representation.
* | | Refactor FnSig a bitFlorian Diebold2019-03-163-70/+104
| | |
* | | Some more Ty displaying cleanupFlorian Diebold2019-03-162-35/+33
| | |
* | | Replace Display by a pretty printing trait for TyFlorian Diebold2019-03-167-60/+136
| |/ |/| | | | | | | This allows removing the names from Adt and FnDef (and more later), as a first step towards aligning more with chalk's Ty :)
* | sort navigations to make tests stableAleksey Kladov2019-03-141-1/+2
| |
* | Add test for minus in inner patternMichael Chesser2019-03-142-0/+347
| |
* | Allow MINUS at the start of a pattern.Michael Chesser2019-03-141-1/+1
| |
* | derive Hash for ra_hir::ModuleDefpcpthm2019-03-141-1/+1
|/
* Merge #958bors[bot]2019-03-121-0/+2
|\ | | | | | | | | | | | | | | 958: LSP: Support EnumMember and Field r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * LSP: Support EnumMember and Fieldkjeremy2019-03-111-0/+2
| |
* | remove DefAleksey Kladov2019-03-122-6/+0
|/
* Add test for async blockCaio2019-03-103-1/+34
|
* Add async keywordCaio2019-03-098-2/+39
|
* Don't default publishDecorations to true on the serverFlorian Diebold2019-03-091-39/+61
| | | | | | | If the client doesn't specify this explicitly, that very likely means it doesn't know about it and so we shouldn't send decorations. In particular, the recent change to this default caused decorations to be sent to emacs, resulting in a lot of warning spam.
* Remove superfluous semicolonskjeremy2019-03-081-5/+5
| | | | | Doesn't change the result of the test but it does prevent the syntax tree from rendering.
* Use ast::Name::text() instead of name().syntax().text()Ville Penttinen2019-03-071-2/+2
|
* Fix EnumVariants not showing properly when hoveringVille Penttinen2019-03-071-2/+56
| | | | This fixes documentation as well for EnumVariants
* Merge #948bors[bot]2019-03-071-6/+11
|\ | | | | | | | | | | | | | | | | | | | | | | 948: Fix test_missing_module_code_action_in_json_project on Windows r=matklad a=vipentti The test would fail on Windows due to the paths not being properly escaped for JSON. In addition adds extra braces around the fn main to actually introduce braces in the file. Co-authored-by: Ville Penttinen <[email protected]>