aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* simplify by using bail! macroCraig Disselkoen2020-05-061-4/+7
|
* cargo fmtCraig Disselkoen2020-05-061-1/+5
|
* return a PathBuf instead of StringCraig Disselkoen2020-05-062-8/+9
|
* simplify some code using early returnsCraig Disselkoen2020-05-061-24/+17
|
* Fix cargo not found on macos bug at vscode extension sideveetaha2020-05-063-7/+48
|
* Preliminary refactoring of cargo.tsveetaha2020-05-062-33/+19
|
* add module-level docs so that tests passCraig Disselkoen2020-05-061-0/+4
|
* cargo fmtCraig Disselkoen2020-05-061-1/+4
|
* pull function out into new crate ra_env; use in ra_flycheck as wellCraig Disselkoen2020-05-069-16/+31
|
* more generic, find rustc as wellCraig Disselkoen2020-05-064-54/+71
|
* ra_project_model: look for Cargo in more placesCraig Disselkoen2020-05-063-10/+128
| | | | See #3118
* Merge #4332bors[bot]2020-05-0520-227/+271
|\ | | | | | | | | | | | | | | | | 4332: Refactor TextEdit r=matklad a=matklad bors r+ šŸ¤– Co-authored-by: Aleksey Kladov <[email protected]>
| * Fixup testsAleksey Kladov2020-05-059-43/+71
| |
| * Use more natural signature for Edit::applyAleksey Kladov2020-05-054-20/+42
| |
| * Rename AtomTextEdit -> IndelAleksey Kladov2020-05-0511-163/+154
| |
| * Minor cleanupsAleksey Kladov2020-05-052-6/+9
| |
* | Merge #4330bors[bot]2020-05-053-135/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | 4330: Drop dead code and a dependency! r=matklad a=Veetaha :tada: Co-authored-by: veetaha <[email protected]>
| * | Drop dead code and a dependency!veetaha2020-05-053-135/+0
|/ /
* | Merge #4328bors[bot]2020-05-053-3/+13
|\ \ | |/ |/| | | | | | | | | | | 4328: add the allFeatures flag (true by default) r=matklad a=guigui64 As discussed on zulip. Co-authored-by: guigui64 <[email protected]>
| * add the allFeatures flag (true by default)guigui642020-05-053-3/+13
|/
* Merge #4327bors[bot]2020-05-058-45/+42
|\ | | | | | | | | | | | | | | | | | | | | 4327: Refactor assists r=matklad a=matklad bors r+ šŸ¤– Co-authored-by: Aleksey Kladov <[email protected]>
| * Normalize naming of diagnosticsAleksey Kladov2020-05-055-21/+23
| |
| * Fix compilationAleksey Kladov2020-05-052-13/+8
| |
| * Move group_label where it belongsAleksey Kladov2020-05-052-7/+6
| |
| * use GroupLabel for type safetyAleksey Kladov2020-05-051-3/+4
| |
| * Minor renameAleksey Kladov2020-05-051-3/+3
| |
| * Flip Assist::new argumentsAleksey Kladov2020-05-052-4/+4
| |
* | Merge #4325bors[bot]2020-05-051-2/+15
|\ \ | |/ |/| | | | | | | | | | | 4325: Fix column conversion for supplementary plane characters r=matklad a=lnicola Fixes https://github.com/rust-analyzer/rust-analyzer/pull/4276#issuecomment-623079855. Co-authored-by: Laurențiu Nicola <[email protected]>
| * Fix column conversion for supplementary plane charactersLaurențiu Nicola2020-05-051-2/+15
| |
* | Merge #4166bors[bot]2020-05-056-7/+25
|\ \ | | | | | | | | | | | | | | | | | | | | | 4166: Defining a default target to support cross-compilation targets r=matklad a=FuriouZz Related to #4163 Co-authored-by: Christophe MASSOLIN <[email protected]>
| * | Remove code duplicatesChristophe MASSOLIN2020-05-051-12/+6
| | |
| * | Pass cargo.target to rustcChristophe MASSOLIN2020-05-053-7/+15
| | |
| * | Rename `defaultTarget` to targetChristophe MASSOLIN2020-05-053-6/+6
| | |
| * | [config] remove RustcConfigChristophe MASSOLIN2020-04-271-5/+0
| | |
| * | [config] rename cargo.defaultTargetChristophe MASSOLIN2020-04-273-6/+6
| | |
| * | Started rust-analyzer.cargo.defaultTarget implementationChristophe MASSOLIN2020-04-263-0/+21
| | |
* | | Merge #4323bors[bot]2020-05-051-0/+12
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | 4323: Add tests for #4306 r=kjeremy a=lnicola CC @kjeremy Co-authored-by: Laurențiu Nicola <[email protected]>
| * | Add tests for #4306Laurențiu Nicola2020-05-051-0/+12
| | |
* | | Merge #4320bors[bot]2020-05-053-6/+65
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4320: add doctest support r=matklad a=bnjjj close #4317 preview: <img width="253" alt="Capture dā€™eĢcran 2020-05-05 aĢ€ 17 39 58" src="https://user-images.githubusercontent.com/5719034/81086040-45110b80-8ef8-11ea-9c05-79c6fe400fc3.png"> Co-authored-by: Benjamin Coenen <[email protected]>
| * | | add doctest support #4317Benjamin Coenen2020-05-053-6/+65
| | | | | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | | | Merge #4321bors[bot]2020-05-0512-77/+83
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4321: Rename ImplItem to AssocItem r=matklad a=edwin0cheng Related discussion: https://github.com/rust-analyzer/rust-analyzer/pull/4283#discussion_r419352265 Co-authored-by: Edwin Cheng <[email protected]>
| * | | | Rename ImplItem to AssocItemEdwin Cheng2020-05-0512-77/+83
|/ / / /
* | | | Merge #4305bors[bot]2020-05-057-28/+90
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4305: Favor types for record type struct in name resolution r=matklad a=edwin0cheng Fixed #4235 Co-authored-by: Edwin Cheng <[email protected]>
| * | | | invert ifEdwin Cheng2020-05-051-3/+3
| | | | |
| * | | | Change union resolve types onlyEdwin Cheng2020-05-042-2/+2
| | | | |
| * | | | Change favor_types to has_constructorEdwin Cheng2020-05-043-9/+9
| | | | |
| * | | | Remove unused importEdwin Cheng2020-05-041-2/+2
| | | | |
| * | | | Add test for issueEdwin Cheng2020-05-041-0/+29
| | | | |
| * | | | Fix testEdwin Cheng2020-05-041-16/+16
| | | | |
| * | | | Favor types for Record in name resolutionEdwin Cheng2020-05-044-12/+45
| | | | |