aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move rm_rf to not-bashAleksey Kladov2020-02-142-9/+23
|
* Trim outputAleksey Kladov2020-02-141-1/+1
|
* Add fs2 module for better error messagesAleksey Kladov2020-02-142-5/+28
|
* Update the manual on releaseAleksey Kladov2020-02-141-1/+4
|
* Add dry run mode to xtask releaseAleksey Kladov2020-02-142-6/+9
|
* Start manualAleksey Kladov2020-02-142-280/+152
|
* Merge #3137bors[bot]2020-02-141-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3137: Do not register all proposed features r=matklad a=kjeremy Instead only opt-in to CallHierarchy since it has a vscode API but LSP support is still proposed. Discovered while working on SemanticTokens which does not have a vscode API and is still in the proposed state. Somehow enabling it would crash the language server. See https://github.com/microsoft/vscode-languageserver-node/issues/572 Co-authored-by: kjeremy <[email protected]>
| * Do not register all proposed featureskjeremy2020-02-141-1/+6
| | | | | | | | | | | | | | | | | | | | | | Instead only opt-in to CallHierarchy since it has a vscode API but LSP support is still proposed. Discovered while working on SemanticTokens which does not have a vscode API and is still in the proposed state. Somehow enabling it would crash the language server. See https://github.com/microsoft/vscode-languageserver-node/issues/572
* | Merge #3133bors[bot]2020-02-142-372/+376
|\ \ | | | | | | | | | | | | | | | | | | | | | 3133: Move hir_fmt code to display module r=matklad a=flodiebold Co-authored-by: Florian Diebold <[email protected]>
| * | Move hir_fmt code to display moduleFlorian Diebold2020-02-142-372/+376
| |/
* | Merge #3136bors[bot]2020-02-147-162/+202
|\ \ | |/ |/| | | | | | | | | | | 3136: Not bash r=matklad a=matklad More declarative installation Co-authored-by: Aleksey Kladov <[email protected]>
| * CleanupAleksey Kladov2020-02-141-1/+1
| |
| * More declarative fs massagingAleksey Kladov2020-02-142-18/+35
| |
| * Replace Cmd with not-bashAleksey Kladov2020-02-145-154/+171
| |
| * Prevent auto-update of dev extensionAleksey Kladov2020-02-143-6/+24
| |
| * MinorAleksey Kladov2020-02-141-31/+19
| |
* | Merge #3132bors[bot]2020-02-143-11/+11
|\ \ | |/ |/| | | | | | | | | | | 3132: Rename Ty::Param => Ty::Placeholder r=matklad a=flodiebold This aligns more with Chalk. Co-authored-by: Florian Diebold <[email protected]>
| * Rename Ty::Param => Ty::PlaceholderFlorian Diebold2020-02-143-11/+11
|/ | | | This aligns more with Chalk.
* Merge #3116bors[bot]2020-02-132-13/+22
|\ | | | | | | | | | | | | | | | | | | 3116: vscode: added error handling to download file streams r=matklad a=Veetaha As a followup for #3092 `ts-nested-error` is mine, it is just [one file worth nothing](https://github.com/Veetaha/ts-nested-error/blob/master/src/nested-error.ts), but let's us inspect original errors Co-authored-by: Veetaha <[email protected]>
| * vscode: removed nested errors as per matkladVeetaha2020-02-133-10/+3
| |
| * vscode: replaced DownloadFileError with NestedError itself for simplicityVeetaha2020-02-131-6/+7
| |
| * vscode: switched to stream.pipeline with .on(close) workaroundVeetaha2020-02-121-19/+17
| |
| * vscode: added error handling to download file streamsVeetaha2020-02-114-7/+24
| |
* | Merge #3120bors[bot]2020-02-132-45/+545
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3120: Support trait auto import r=matklad a=SomeoneToIgnore Unfortunately, for real cases it does not work as spectacular as in the tests. The main reason for that is type inference: * The callee type [here](https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_hir_ty/src/method_resolution.rs#L369) is unknown for many cases * The trait solution [here](https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/ra_hir_ty/src/method_resolution.rs#L399) is also often ambiguous That results in trait candidates being rejected, and some real cases not supported. Example: no imports for `String::from_str("test")` Co-authored-by: Kirill Bulatov <[email protected]>
| * | Do not collect all traitsKirill Bulatov2020-02-121-102/+53
| | |
| * | Support associated constsKirill Bulatov2020-02-121-18/+133
| | |
| * | Also consider associated constantsKirill Bulatov2020-02-121-8/+8
| | |
| * | Revert source_analyzer changesKirill Bulatov2020-02-122-55/+6
| | |
| * | Fix post-rebase issuesKirill Bulatov2020-02-122-25/+25
| | |
| * | Refactor the codeKirill Bulatov2020-02-121-96/+93
| | |
| * | Adjust the assist group nameKirill Bulatov2020-02-121-9/+25
| | |
| * | Add profilingKirill Bulatov2020-02-121-0/+3
| | |
| * | Support trait method call autoimportsKirill Bulatov2020-02-122-101/+211
| | |
| * | Trait location draftKirill Bulatov2020-02-122-20/+127
| | |
| * | Refactor path for imports extractionKirill Bulatov2020-02-121-20/+92
| | |
| * | Add method testsKirill Bulatov2020-02-121-3/+116
| | |
| * | Resolve methods and functions betterKirill Bulatov2020-02-122-9/+74
| | |
* | | Add error context to failures in `ra_project_model` using `anyhow` crate (#3119)Adam Bratschi-Kaye2020-02-135-20/+59
| | | | | | | | | Add error context to failures in ra_project_model using anyhow crate
* | | Merge #3126bors[bot]2020-02-131-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3126: prevent "Play" symbol in "Run Test" code lens from rendering as emoji r=matklad a=quanlou for #3091 Co-authored-by: Quan Luu <[email protected]>
| * | | prevent "Play" symbol in "Run Test" code lens from rendering as emojiQuan Luu2020-02-131-1/+1
|/ / /
* | | Merge #3127bors[bot]2020-02-123-1/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3127: Support unnamed arguments in function pointers r=edwin0cheng a=hanmertens Fixes #3089 Co-authored-by: Han Mertens <[email protected]>
| * | | Run cargo testHan Mertens2020-02-121-0/+26
| | | |
| * | | Run cargo xtask codegenHan Mertens2020-02-121-0/+1
| | | |
| * | | Add test for unnamed argument in function pointerHan Mertens2020-02-121-0/+3
| | | |
| * | | Support unnamed arguments in function pointersHan Mertens2020-02-121-1/+1
|/ / / | | | | | | | | | Fixes #3089
* | | Merge #3125bors[bot]2020-02-121-3/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3125: Add couple of utility methods r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Add couple of utility methodsAleksey Kladov2020-02-121-3/+19
| | | |
* | | | Merge #3124bors[bot]2020-02-121-15/+7
|\| | | | |/ / |/| | | | | | | | | | | | | | | | | 3124: Simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | SimplifyAleksey Kladov2020-02-121-15/+7
|/ /
* | Merge #3121bors[bot]2020-02-123-7/+49
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 3121: Do not add imports before inner attributes r=matklad a=SomeoneToIgnore Current `insert_use_statement` function adds imports before inner attributes which results in compiler errors: <img width="1440" alt="image" src="https://user-images.githubusercontent.com/2690773/74344019-a3749500-4db4-11ea-9d88-f71e903e795a.png"> Co-authored-by: Kirill Bulatov <[email protected]>