aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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-068-15/+21
|
* more generic, find rustc as wellCraig Disselkoen2020-05-064-54/+71
|
* ra_project_model: look for Cargo in more placesCraig Disselkoen2020-05-062-9/+52
| | | | See #3118
* Merge #4332bors[bot]2020-05-0519-226/+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-0510-162/+154
| |
| * Minor cleanupsAleksey Kladov2020-05-052-6/+9
| |
* | add the allFeatures flag (true by default)guigui642020-05-052-3/+8
|/
* 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-055-7/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-052-4/+4
| | |
| * | [config] remove RustcConfigChristophe MASSOLIN2020-04-271-5/+0
| | |
| * | [config] rename cargo.defaultTargetChristophe MASSOLIN2020-04-272-5/+5
| | |
| * | Started rust-analyzer.cargo.defaultTarget implementationChristophe MASSOLIN2020-04-262-0/+13
| | |
* | | 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]>
* | | | Rename ImplItem to AssocItemEdwin Cheng2020-05-0511-75/+81
| | | |
* | | | 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
| | | | |
* | | | | Merge #4265bors[bot]2020-05-051-3/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4265: Make `change_visibility` assist work for tuple struct fields r=matklad a=Jesse-Bakker Fixes #4206 Co-authored-by: Jesse Bakker <[email protected]>
| * | | | | Make `change_visibility` assist work for tuple struct field visibilityJesse Bakker2020-05-021-3/+10
| | | | | |
| | | | | |
| \ \ \ \ \
*-. \ \ \ \ \ Merge #4306 #4308bors[bot]2020-05-052-8/+8
|\ \ \ \ \ \ \ | | | |_|/ / / | | |/| | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4306: Make incremental sync opt-out and fix line index rebuild r=matklad a=lnicola 4308: Update server binary paths in docs r=matklad a=Coder-256 Fixed incorrect macOS path and converted to a list. Also, should the Windows path include `matklad.rust-analyzer`? (I can't check) Co-authored-by: Laurențiu Nicola <[email protected]> Co-authored-by: Jacob Greenfield <[email protected]>
| * | | | | Fix line index rebuild during incremental changesLaurențiu Nicola2020-05-041-5/+5
| | | | | |
| * | | | | Make incremental sync opt-outLaurențiu Nicola2020-05-041-3/+3
| |/ / / /
* / / / / refactor: use attrsOwner directly in is_cfg_enabledBenjamin Coenen2020-05-054-22/+15
|/ / / / | | | | | | | | | | | | Signed-off-by: Benjamin Coenen <[email protected]>
* | | | Remove false positive attr compleitonsAleksey Kladov2020-05-042-4/+40
| | | |