aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Add argument count mismatch diagnosticJonas Schievink2020-07-094-6/+103
| |
* | Merge #5282bors[bot]2020-07-0920-408/+201
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5282: Move diagnostics tests to expect r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Always put config firstAleksey Kladov2020-07-094-61/+60
| | |
| * | Move diagnostics tests to expectAleksey Kladov2020-07-0914-113/+53
| | |
| * | Add fixmesAleksey Kladov2020-07-091-0/+2
| | |
| * | SimplifyAleksey Kladov2020-07-0912-133/+13
| | |
| * | Cleanup diagnostic conversion codeAleksey Kladov2020-07-094-103/+75
| | |
* | | Merge #5281bors[bot]2020-07-094-424/+282
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5281: Remove insta from ra_ide r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Remove insta from ra_ideAleksey Kladov2020-07-092-2/+0
| | |
| * | Cleanup diagnostics testsAleksey Kladov2020-07-092-237/+131
| | |
| * | Reduce code duplicationAleksey Kladov2020-07-091-181/+147
|/ /
* | Merge #5280bors[bot]2020-07-093-3/+21
|\ \ | |/ |/| | | | | | | | | | | | | | | | | 5280: Re-enable IDE features for incomplete impl blocs r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Re-enable IDE features for incomplete impl blocsAleksey Kladov2020-07-093-3/+21
| |
* | Merge #5279bors[bot]2020-07-092-32/+20
|\| | | | | | | | | | | | | | | | | | | | | 5279: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * SimplifyAleksey Kladov2020-07-092-32/+20
|/
* Merge #5278bors[bot]2020-07-095-40/+27
|\ | | | | | | | | | | | | | | | | | | | | 5278: expect should be a dev dep r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * expect should be a dev depAleksey Kladov2020-07-091-1/+1
| |
| * Unify testsAleksey Kladov2020-07-094-39/+26
| |
* | Merge #5276bors[bot]2020-07-094-163/+114
|\| | | | | | | | | | | | | | | | | | | | | 5276: Streamline r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * No blank indentAleksey Kladov2020-07-091-1/+1
| |
| * Prettier renderingAleksey Kladov2020-07-091-43/+43
| |
| * StreamlineAleksey Kladov2020-07-093-50/+36
| |
| * Reduce APIAleksey Kladov2020-07-092-13/+8
| |
| * CleanupAleksey Kladov2020-07-091-21/+15
| |
| * Reduce APIAleksey Kladov2020-07-091-19/+5
| |
| * RenameAleksey Kladov2020-07-091-22/+12
|/
* Merge #5273bors[bot]2020-07-087-1632/+1682
|\ | | | | | | | | | | | | | | | | | | | | 5273: Refactor hover tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Refactor hover testsAleksey Kladov2020-07-081-1582/+1615
| |
| * Simplify testsAleksey Kladov2020-07-081-59/+55
| |
| * better languageAleksey Kladov2020-07-082-11/+12
| |
| * Add Markup typeAleksey Kladov2020-07-085-59/+79
| |
* | Merge #5272bors[bot]2020-07-081-6/+6
|\| | | | | | | | | | | | | | | | | | | | | 5272: :arrow_up: deps r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>