Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge #5284 | bors[bot] | 2020-07-09 | 1 | -2/+15 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5284: Fold struct literals r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Fold struct literals | Aleksey Kladov | 2020-07-09 | 1 | -2/+15 | |
| | | | ||||||
* | | | arg count mismatch: handle tuple ctors | Jonas Schievink | 2020-07-09 | 1 | -17/+34 | |
| | | | ||||||
* | | | Merge #5270 | bors[bot] | 2020-07-09 | 5 | -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 comments | Jonas Schievink | 2020-07-09 | 2 | -40/+28 | |
| | | | ||||||
| * | | Add tests | Jonas Schievink | 2020-07-09 | 1 | -0/+129 | |
| | | | ||||||
| * | | Fix diagnostic for method calls | Jonas Schievink | 2020-07-09 | 1 | -3/+12 | |
| | | | ||||||
| * | | Correctly pluralize message | Jonas Schievink | 2020-07-09 | 1 | -1/+2 | |
| | | | ||||||
| * | | Remove unnecessary DiagnosticSink handlers | Jonas Schievink | 2020-07-09 | 1 | -16/+0 | |
| | | | ||||||
| * | | Don't emit diagnostic if there are type errors | Jonas Schievink | 2020-07-09 | 1 | -0/+7 | |
| | | | ||||||
| * | | Add argument count mismatch diagnostic | Jonas Schievink | 2020-07-09 | 4 | -6/+103 | |
| | | | ||||||
* | | | Always put config first | Aleksey Kladov | 2020-07-09 | 4 | -61/+60 | |
| | | | ||||||
* | | | Move diagnostics tests to expect | Aleksey Kladov | 2020-07-09 | 13 | -112/+53 | |
| | | | ||||||
* | | | Add fixmes | Aleksey Kladov | 2020-07-09 | 1 | -0/+2 | |
| | | | ||||||
* | | | Simplify | Aleksey Kladov | 2020-07-09 | 12 | -133/+13 | |
| | | | ||||||
* | | | Cleanup diagnostic conversion code | Aleksey Kladov | 2020-07-09 | 3 | -103/+74 | |
| | | | ||||||
* | | | Remove insta from ra_ide | Aleksey Kladov | 2020-07-09 | 1 | -1/+0 | |
| | | | ||||||
* | | | Cleanup diagnostics tests | Aleksey Kladov | 2020-07-09 | 2 | -237/+131 | |
| | | | ||||||
* | | | Reduce code duplication | Aleksey Kladov | 2020-07-09 | 1 | -181/+147 | |
| | | | ||||||
* | | | Re-enable IDE features for incomplete impl blocs | Aleksey Kladov | 2020-07-09 | 3 | -3/+21 | |
|/ / | ||||||
* | | Simplify | Aleksey Kladov | 2020-07-09 | 2 | -32/+20 | |
| | | ||||||
* | | expect should be a dev dep | Aleksey Kladov | 2020-07-09 | 1 | -1/+1 | |
| | | ||||||
* | | Unify tests | Aleksey Kladov | 2020-07-09 | 3 | -39/+25 | |
| | | ||||||
* | | No blank indent | Aleksey Kladov | 2020-07-09 | 1 | -1/+1 | |
| | | ||||||
* | | Prettier rendering | Aleksey Kladov | 2020-07-09 | 1 | -43/+43 | |
| | | ||||||
* | | Streamline | Aleksey Kladov | 2020-07-09 | 3 | -50/+36 | |
| | | ||||||
* | | Reduce API | Aleksey Kladov | 2020-07-09 | 2 | -13/+8 | |
| | | ||||||
* | | Cleanup | Aleksey Kladov | 2020-07-09 | 1 | -21/+15 | |
| | | ||||||
* | | Reduce API | Aleksey Kladov | 2020-07-09 | 1 | -19/+5 | |
| | | ||||||
* | | Rename | Aleksey Kladov | 2020-07-09 | 1 | -22/+12 | |
| | | ||||||
* | | Refactor hover tests | Aleksey Kladov | 2020-07-08 | 1 | -1582/+1615 | |
| | | ||||||
* | | Simplify tests | Aleksey Kladov | 2020-07-08 | 1 | -59/+55 | |
| | | ||||||
* | | better language | Aleksey Kladov | 2020-07-08 | 1 | -2/+2 | |
| | | ||||||
* | | Add Markup type | Aleksey Kladov | 2020-07-08 | 5 | -59/+79 | |
| | | ||||||
* | | simplify | Aleksey Kladov | 2020-07-08 | 1 | -9/+11 | |
| | | ||||||
* | | Minimize API | Aleksey Kladov | 2020-07-08 | 1 | -6/+4 | |
| | | ||||||
* | | Dead code | Aleksey Kladov | 2020-07-08 | 1 | -31/+19 | |
| | | ||||||
* | | Reduce visibility | Aleksey Kladov | 2020-07-08 | 1 | -9/+7 | |
| | | ||||||
* | | Remove relative_path dependency | Aleksey Kladov | 2020-07-08 | 4 | -35/+90 | |
| | | ||||||
* | | Remove unwanted dependency | Aleksey Kladov | 2020-07-08 | 8 | -16/+15 | |
| | | ||||||
* | | Document failed refactor | Aleksey Kladov | 2020-07-08 | 1 | -3/+3 | |
| | | ||||||
* | | Clippy perf warnings | kjeremy | 2020-07-08 | 3 | -4/+3 | |
| | | ||||||
* | | Replace ad hocery with science | Aleksey Kladov | 2020-07-07 | 4 | -57/+81 | |
| | | ||||||
* | | Fix symbol search in salsa | Aleksey Kladov | 2020-07-07 | 1 | -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 salsa | Aleksey Kladov | 2020-07-07 | 1 | -1/+1 | |
| | | ||||||
* | | Merge #5244 | bors[bot] | 2020-07-07 | 4 | -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 statistics | Jonas Schievink | 2020-07-07 | 4 | -1/+30 | |
| | | | ||||||
* | | | Merge #5247 | bors[bot] | 2020-07-07 | 5 | -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 tests | Aleksey Kladov | 2020-07-07 | 5 | -1214/+415 | |
| | | | | ||||||
| * | | | cleanup | Aleksey Kladov | 2020-07-07 | 1 | -3/+2 | |
| |/ / |