aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge #5303bors[bot]2020-07-118-20/+19
|\ | | | | | | | | | | | | | | | | | | | | 5303: Speed up completion r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Speed up completionAleksey Kladov2020-07-118-20/+19
|/
* Merge #5302bors[bot]2020-07-101-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 5302: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * SimplifyAleksey Kladov2020-07-101-1/+1
|/
* Merge #5301bors[bot]2020-07-103-6/+8
|\ | | | | | | | | | | | | | | | | | | | | 5301: Don't spawn notify unnecessary r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Don't spawn notify unnecessaryAleksey Kladov2020-07-103-6/+8
|/
* Merge #5300bors[bot]2020-07-101-6/+6
|\ | | | | | | | | | | | | | | 5300: Update deps r=matklad a=kjeremy Bumps tracing to 0.1.16 which reduces monomorphization: https://github.com/rust-analyzer/rust-analyzer/issues/1987#issuecomment-654711560 Co-authored-by: kjeremy <[email protected]>
| * Update depskjeremy2020-07-101-6/+6
|/
* Merge #5299bors[bot]2020-07-105-42/+107
|\ | | | | | | | | | | | | | | | | 5299: Reload when new example/test/etc is added r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Optimize VFS processingAleksey Kladov2020-07-102-30/+40
| |
| * Sort cargo metadataAleksey Kladov2020-07-101-2/+4
| | | | | | | | | | | | See https://github.com/rust-lang/cargo/issues/8477 We need this to prevent spurious workspace reloads
| * Add profiling callsAleksey Kladov2020-07-102-0/+6
| |
| * Also reload when adding new examples, tests, etcAleksey Kladov2020-07-104-11/+58
|/
* Merge #5298bors[bot]2020-07-101-124/+86
|\ | | | | | | | | | | | | | | | | | | | | 5298: Better caret placement when filling match arms r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Better caret placement when filling match armsAleksey Kladov2020-07-101-124/+86
|/
* Merge #5297bors[bot]2020-07-102-4/+4
|\ | | | | | | | | | | | | | | | | | | | | 5297: Better name r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Better nameAleksey Kladov2020-07-102-4/+4
| |
* | Merge #5296bors[bot]2020-07-102-12/+28
|\| | | | | | | | | | | | | | | | | | | | | | | | | 5296: Don't add braces after struct r=matklad a=matklad Unit structs are a thing bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Don't add braces after structAleksey Kladov2020-07-101-1/+1
| | | | | | | | Unit structs are a thing
| * Better complete expression keywordsAleksey Kladov2020-07-102-11/+27
|/
* Merge #5295bors[bot]2020-07-101-5/+16
|\ | | | | | | | | | | | | | | | | | | | | 5295: Complete params in nested fns r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Complete params in nested fnsAleksey Kladov2020-07-101-5/+16
|/
* Merge #5294bors[bot]2020-07-101-39/+19
|\ | | | | | | | | | | | | | | | | | | | | 5294: Complete parameters more aggressively r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Complete parameters more aggressivelyAleksey Kladov2020-07-101-9/+12
| |
| * Refresh testsAleksey Kladov2020-07-101-30/+7
|/
* Merge #5293bors[bot]2020-07-107-28/+57
|\ | | | | | | | | | | | | | | | | | | | | 5293: Automatically reload project info on Cargo.toml changes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Automatically reload project info on Cargo.toml changesAleksey Kladov2020-07-107-28/+57
| |
* | Merge #5292bors[bot]2020-07-105-71/+105
|\ \ | |/ |/| | | | | | | | | | | | | 5292: Goto type definition improvements r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Look through Arc for goto type definitionAleksey Kladov2020-07-101-1/+1
| |
| * Simplify testsAleksey Kladov2020-07-101-60/+53
| |
| * Dont expose IDAleksey Kladov2020-07-101-4/+3
| |
| * RenameAleksey Kladov2020-07-102-3/+2
| |
| * Goto type definition works for selfAleksey Kladov2020-07-105-8/+51
|/
* Merge #5286bors[bot]2020-07-101-1/+2
|\ | | | | | | | | | | | | | | 5286: Only take first 500 syntax errors r=jonas-schievink a=yihuang Too many syntax errors make some editor/ide slow, fix #3434. Co-authored-by: yihuang <[email protected]>
| * Only take first 500 syntax errorsyihuang2020-07-101-1/+2
| | | | | | | | Too many syntax errors make some editor/ide slow, fix #3434.
* | Merge #5288bors[bot]2020-07-103-134/+169
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 5288: Avoid accidently stumping over config values r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Avoid accidently stumping over config valuesAleksey Kladov2020-07-103-134/+169
|/
* Merge #5285bors[bot]2020-07-094-17/+35
|\ | | | | | | | | | | | | | | | | | | | | 5285: Don't mess with cursor position when adding hashes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Don't mess with cursor position when adding hashesAleksey Kladov2020-07-094-17/+35
|/
* Merge #5284bors[bot]2020-07-091-2/+15
|\ | | | | | | | | | | | | | | | | | | | | 5284: Fold struct literals r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Fold struct literalsAleksey Kladov2020-07-091-2/+15
| |
* | Merge #5283bors[bot]2020-07-091-17/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5283: Arg count mismatch diagnostic: Handle tuple struct/variant ctors r=jonas-schievink a=jonas-schievink I didn't know `callable_item_signature` was a thing, that makes this really easy. bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | arg count mismatch: handle tuple ctorsJonas Schievink2020-07-091-17/+34
|/ /
* | Merge #5270bors[bot]2020-07-096-14/+230
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5270: Add argument count mismatch diagnostic r=matklad a=jonas-schievink Closes https://github.com/rust-analyzer/rust-analyzer/issues/4025. This currently has one false positive on this line, where `max` is resolved to `Iterator::max` instead of `Ord::max`: https://github.com/rust-analyzer/rust-analyzer/blob/8aa10c00a4c5b957d459fac5a103cd9688e8dcdd/crates/expect/src/lib.rs#L263 (I have no idea why it thinks that `usize` is an `Iterator`) TODO: * [x] Tests * [x] Improve diagnostic text for method calls Co-authored-by: Jonas Schievink <[email protected]>
| * Address review commentsJonas Schievink2020-07-093-40/+29
| |
| * Add testsJonas Schievink2020-07-091-0/+129
| |
| * Fix diagnostic for method callsJonas Schievink2020-07-091-3/+12
| |
| * Correctly pluralize messageJonas Schievink2020-07-091-1/+2
| |
| * Remove unnecessary DiagnosticSink handlersJonas Schievink2020-07-091-16/+0
| |
| * Don't emit diagnostic if there are type errorsJonas Schievink2020-07-091-0/+7
| |