aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge #5270bors[bot]2020-07-095-14/+229
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-092-40/+28
| | |
| * | 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
| | |
* | | Always put config firstAleksey Kladov2020-07-094-61/+60
| | |
* | | Move diagnostics tests to expectAleksey Kladov2020-07-0913-112/+53
| | |
* | | Add fixmesAleksey Kladov2020-07-091-0/+2
| | |
* | | SimplifyAleksey Kladov2020-07-0912-133/+13
| | |
* | | Cleanup diagnostic conversion codeAleksey Kladov2020-07-093-103/+74
| | |
* | | Remove insta from ra_ideAleksey Kladov2020-07-091-1/+0
| | |
* | | Cleanup diagnostics testsAleksey Kladov2020-07-092-237/+131
| | |
* | | Reduce code duplicationAleksey Kladov2020-07-091-181/+147
| | |
* | | Re-enable IDE features for incomplete impl blocsAleksey Kladov2020-07-093-3/+21
|/ /
* | SimplifyAleksey Kladov2020-07-092-32/+20
| |
* | expect should be a dev depAleksey Kladov2020-07-091-1/+1
| |
* | Unify testsAleksey Kladov2020-07-093-39/+25
| |
* | 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
| |
* | Refactor hover testsAleksey Kladov2020-07-081-1582/+1615
| |
* | Simplify testsAleksey Kladov2020-07-081-59/+55
| |
* | better languageAleksey Kladov2020-07-081-2/+2
| |
* | Add Markup typeAleksey Kladov2020-07-085-59/+79
| |
* | simplifyAleksey Kladov2020-07-081-9/+11
| |
* | Minimize APIAleksey Kladov2020-07-081-6/+4
| |
* | Dead codeAleksey Kladov2020-07-081-31/+19
| |
* | Reduce visibilityAleksey Kladov2020-07-081-9/+7
| |
* | Remove relative_path dependencyAleksey Kladov2020-07-084-35/+90
| |
* | Remove unwanted dependencyAleksey Kladov2020-07-088-16/+15
| |
* | Document failed refactorAleksey Kladov2020-07-081-3/+3
| |
* | Clippy perf warningskjeremy2020-07-083-4/+3
| |
* | Replace ad hocery with scienceAleksey Kladov2020-07-074-57/+81
| |
* | Fix symbol search in salsaAleksey Kladov2020-07-071-19/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous solution for binning paths into disjoint directories was simple and fast -- just a single binary search. Unfortunatelly, it wasn't coorrect: if the ditr are /d /d/a /d/c then partitioning the file /d/b/lib.rs won't pick /d as a correct directory. The correct solution here is a trie, but it requires exposing path components. So, we use a poor man's substitution -- a *vector* of sorted paths, such that each bucket is prefix-free closes #5246
* | Upstream salsaAleksey Kladov2020-07-071-1/+1
| |
* | Merge #5244bors[bot]2020-07-074-1/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 5244: Add a command to compute memory usage statistics r=matklad a=jonas-schievink This allows inspecting memory usage on a live rust-analyzer instance after it has been used interactively. This will only work with `--features jemalloc`, so maybe it should print something more useful when that's not available? Right now it will just print 0 Bytes for every query. Co-authored-by: Jonas Schievink <[email protected]>
| * | Add a command to compute memory usage statisticsJonas Schievink2020-07-074-1/+30
| | |
* | | Merge #5247bors[bot]2020-07-075-1217/+417
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5247: Modernize unqualified reference completion tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Modernize unqualified reference completion testsAleksey Kladov2020-07-075-1214/+415
| | | |
| * | | cleanupAleksey Kladov2020-07-071-3/+2
| |/ /
* | | Merge #5245bors[bot]2020-07-072-8/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5245: Refactor AssistBuilder to manage a SourceChange r=matklad a=theduke `AssistBuilder` now managaes a full `SourceChange` instead of a `Vec<SourceFileEdit>`. This prepares AssistBuilder to handle creation of new files. Co-authored-by: Christoph Herzog <[email protected]>
| * | Refactor AssistBuilder to manage a SourceChangeChristoph Herzog2020-07-072-8/+8
| | | | | | | | | | | | | | | | | | | | | `AssistBuilder`` now managaes a full `SourceChange` instead of a Vec<SourceFileEdit>. This prepares AssistBuilder to handle creation of new files.
| | |
| \ \
*-. \ \ Merge #5235 #5236 #5241bors[bot]2020-07-076-16/+9
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5235: Don't ping people in PRs r=matklad a=lnicola 5236: Disable ES module interop r=matklad a=lnicola 5241: Clippy perf warnings r=matklad a=kjeremy Removes redundant clones Co-authored-by: LaurenČ›iu Nicola <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]> Co-authored-by: kjeremy <[email protected]>