aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * Append new match arms rather than replacing all of themMatthew Hall2020-03-282-35/+180
| | | | | | | | This means we now retain comments when filling in match arms.
* | Merge #3763bors[bot]2020-03-301-11/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 3763: Simplify r=matklad a=Veetaha Co-authored-by: veetaha <[email protected]>
| * | Simplifyveetaha2020-03-281-11/+4
| |/
* | Pull options outwardsAleksey Kladov2020-03-303-17/+14
| |
* | Fix race in the testsAleksey Kladov2020-03-303-2/+11
| |
* | Use automatic thread joining for cargo-watchAleksey Kladov2020-03-302-40/+9
| |
* | Fix review commentsEdwin Cheng2020-03-292-13/+13
| |
* | Move roots_to_scan to LoopStateEdwin Cheng2020-03-282-22/+22
|/
* Remove some unwrapsAleksey Kladov2020-03-285-29/+29
|
* Nice string formattingAleksey Kladov2020-03-2810-21/+34
|
* Start stdxAleksey Kladov2020-03-2812-88/+157
| | | | This crate will hold everything to small to be worth publishing
* Fix merge-imports assist for wildcard importsPiotr Szpetkowski2020-03-273-2/+36
|
* Fix assist descriptionAleksey Kladov2020-03-271-4/+8
|
* Merge #3742bors[bot]2020-03-275-5/+147
|\ | | | | | | | | | | | | | | | | | | | | 3742: Replace if with if-let r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Replace if with if-letAleksey Kladov2020-03-275-5/+147
| |
* | Merge #3741bors[bot]2020-03-272-2/+11
|\| | | | | | | | | | | | | | | | | | | | | 3741: More general ctor for ifs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * More general ctor for ifsAleksey Kladov2020-03-272-2/+11
| |
* | Merge #3740bors[bot]2020-03-271-29/+28
|\| | | | | | | | | | | | | | | | | | | | | 3740: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * SimplifyAleksey Kladov2020-03-271-29/+28
| |
* | Merge #3727bors[bot]2020-03-2619-38/+250
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3727: Introduce ra_proc_macro r=matklad a=edwin0cheng This PR implemented: 1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained. 2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander. 3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process. Co-authored-by: Edwin Cheng <[email protected]>
| * | Remove deps on tt_mbeEdwin Cheng2020-03-269-47/+57
| | |
| * | Refactoring a bitEdwin Cheng2020-03-261-7/+12
| | |
| * | Add ProcMacroClientEdwin Cheng2020-03-2516-43/+220
| | |
| * | Add ra_proc_macroEdwin Cheng2020-03-252-0/+20
| | |
* | | Merge #3732bors[bot]2020-03-264-0/+207
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 3732: Assist: replace unwrap with match r=matklad a=unrealhoang attempt on #3669 Co-authored-by: Unreal Hoang <[email protected]>
| * | Assist: replace unwrap with matchUnreal Hoang2020-03-264-0/+207
| | |
* | | Get rid of ItemOrMacroAleksey Kladov2020-03-266-41/+20
| | |
* | | Minor incremental tests cleanupAleksey Kladov2020-03-262-10/+10
| | |
* | | Cleanup memory usage statsAleksey Kladov2020-03-254-11/+16
| |/ |/|
* | fix typo of visibility_ofEdwin Cheng2020-03-252-2/+2
| |
* | Merge #3722bors[bot]2020-03-254-21/+75
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3722: Fix parsing lambdas with return type r=matklad a=matklad We should eat only a single block, and not whatever larger expression may start with a block. closes #3721 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Fix parsing lambdas with return typeAleksey Kladov2020-03-254-21/+75
| |/ | | | | | | | | | | | | We should eat only a single block, and not whatever larger expression may start with a block. closes #3721
* | Fix add visibility false-positiveAleksey Kladov2020-03-252-12/+29
| |
* | Preserve relative ordering of grouped assistsAleksey Kladov2020-03-251-18/+26
|/
* Merge #3717bors[bot]2020-03-253-23/+51
|\ | | | | | | | | | | | | | | | | | | | | 3717: Always expand macros during analysis r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Always expand macros during analysisAleksey Kladov2020-03-253-23/+51
| |
* | Remove collect proc_macro definitionsEdwin Cheng2020-03-252-29/+25
| |
* | Fix trailling whitespaceEdwin Cheng2020-03-251-1/+1
| |
* | Rename to CustomDeriveEdwin Cheng2020-03-255-5/+5
| |
* | Refactoring a bitEdwin Cheng2020-03-252-7/+10
| |
* | Use dummy implementationEdwin Cheng2020-03-251-2/+3
| |
* | Add basic custom derive loweringEdwin Cheng2020-03-2510-28/+144
|/
* Remove dead codeAleksey Kladov2020-03-251-11/+0
|
* Merge #3707bors[bot]2020-03-255-59/+50
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3707: Add ItemScope::visibility_of r=matklad a=edwin0cheng ~This PR implements `HasVisibility` for various constructs and change `Definition::search_scope` to use `Visibility` directly instead of depends on ad-hoc string parsing.~ This PR added `visibility_of` in `ItemScope` and `Module` and use it directly directly instead of depends on ad-hoc string parsing. And also add a FIXME to indicate that there is a bug which do not search child-submodules in other files recursively in `Definition::search_scope`. I will submit another PR to fix that bug after this is merged. cc @flodiebold Co-authored-by: Edwin Cheng <[email protected]>
| * Use visibility_of in searchEdwin Cheng2020-03-241-35/+31
| |
| * Add ItemScope::visibility_ofEdwin Cheng2020-03-244-24/+19
| |
* | Improvements based on code review feedbackMatt Hooper2020-03-241-5/+5
| |
* | Fmt correctionsMatt Hooper2020-03-241-13/+9
| |
* | Added more unit testsMatt Hooper2020-03-241-76/+159
| |
* | Added new inlay hint kind and rules for method chainingMatt Hooper2020-03-245-5/+98
| |