aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Start stdxAleksey Kladov2020-03-2813-104/+163
|/ | | | This crate will hold everything to small to be worth publishing
* Merge #3745bors[bot]2020-03-273-2/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3745: Fix merge-imports assist for wildcard imports r=matklad a=piotr-szpetkowski Refs #3728 Besides the case mentioned in issue merging two diff-prefix wildcard uses will now work as well e.g. ```rust use std::cell::*; use std::str::*; ``` will translate into: ```rust use std::{cell::*, str::*} ``` I'd also like to explore usage of the `merge-imports` for same-prefix uses to simplify redundancy, but it seems like an idea for another issue and I'm not sure if it's something that this assist should do e.g.: ```rust use std::cell::Cell; use std::cell::*; ``` into: ```rust use std::cell::*; ``` Co-authored-by: Piotr Szpetkowski <[email protected]>
| * Fix merge-imports assist for wildcard importsPiotr Szpetkowski2020-03-273-2/+36
|/
* Merge #3743bors[bot]2020-03-272-5/+9
|\ | | | | | | | | | | | | | | | | | | | | 3743: Fix assist description r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Fix assist descriptionAleksey Kladov2020-03-272-5/+9
|/
* Merge #3742bors[bot]2020-03-276-5/+170
|\ | | | | | | | | | | | | | | | | | | | | 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-276-5/+170
| |
* | 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 #3693bors[bot]2020-03-271-2/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3693: vscode: show release tag with along with the commit hash for RA version command r=matklad a=Veetaha Co-authored-by: veetaha <[email protected]> Co-authored-by: Veetaha <[email protected]>
| * | vscode: fix release tag retrievalVeetaha2020-03-271-1/+1
| | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]>
| * | vscode: show release tag with along with the commit hash for RA version commandveetaha2020-03-261-2/+7
|/ /
* | Merge #3725bors[bot]2020-03-262-23/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | 3725: vscode: fix local devel and remove disposables memory leak on server restrart r=matklad a=Veetaha Co-authored-by: veetaha <[email protected]>
| * | vscode: small post-refactorveetaha2020-03-261-3/+1
| | |
| * | vscode: fix memory leak on server restartveetaha2020-03-261-15/+13
| | | | | | | | | | | | The memory leak was because on the server restrart the array of extensionContext.substiptions was not cleared
| * | vscode: fix local develveetaha2020-03-262-5/+7
| | | | | | | | | | | | The value of releaseTag is not undefined, but null in actual package.json
* | | Merge #3727bors[bot]2020-03-2620-38/+259
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2610-49/+58
| | | |
| * | | Refactoring a bitEdwin Cheng2020-03-261-7/+12
| | | |
| * | | Add ProcMacroClientEdwin Cheng2020-03-2517-43/+222
| | | |
| * | | Add ra_proc_macroEdwin Cheng2020-03-253-0/+28
| |/ /
* | | Merge #3732bors[bot]2020-03-265-0/+230
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 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-265-0/+230
| | |
* | | Merge pull request #3735 from matklad/cAleksey Kladov2020-03-261-1/+2
|\ \ \ | | | | | | | | Don't deny C for cargo audit
| * | | Don't deny C for cargo auditAleksey Kladov2020-03-261-1/+2
|/ / / | | | | | | | | | It depends on openssl ;-(
* | | Merge #3734bors[bot]2020-03-267-41/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3734: Get rid of ItemOrMacro r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Get rid of ItemOrMacroAleksey Kladov2020-03-267-41/+21
|/ / /
* | | Merge #3733bors[bot]2020-03-262-10/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3733: Minor incremental tests cleanup r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Minor incremental tests cleanupAleksey Kladov2020-03-262-10/+10
| | | |
* | | | Merge #3731bors[bot]2020-03-261-10/+10
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 3731: Update deps r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | Update depskjeremy2020-03-261-10/+10
|/ / /
* | | Merge #3726bors[bot]2020-03-261-20/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3726: vscode: refactor analyzer status r=matklad a=Veetaha Co-authored-by: veetaha <[email protected]>
| * | | vscode: refactor analyzer statusveetaha2020-03-251-20/+11
| | | |
* | | | Merge pull request #3729 from matklad/envAleksey Kladov2020-03-263-24/+20
|\ \ \ \ | | | | | | | | | | try pulling the env up
| * | | | Specify env once for all jobsAleksey Kladov2020-03-263-24/+20
|/ / / /
* | | | Merge #3724bors[bot]2020-03-254-11/+16
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3724: Cleanup memory usage stats r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Cleanup memory usage statsAleksey Kladov2020-03-254-11/+16
|/ / /
* | | Merge #3723bors[bot]2020-03-252-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3723: Fix typo of visibility_of r=edwin0cheng a=edwin0cheng cc @kjeremy Co-authored-by: Edwin Cheng <[email protected]>
| * | | 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
* | | Merge #3718bors[bot]2020-03-253-30/+55
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | 3718: Fix couple of assists r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | 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
| | |
* | | Merge #3692bors[bot]2020-03-2510-28/+144
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 3692: Introduce `MacroDefKind::CustomDerive` r=matklad a=edwin0cheng This PR introduce a new `MacroDefKind` `CustomDerive`. And use a new `ProcMacroExpander` for its expanding. And the expander is a dummy for now. Related: #3654 Co-authored-by: Edwin Cheng <[email protected]>
| * | Remove collect proc_macro definitionsEdwin Cheng2020-03-252-29/+25
| | |