aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* Rewrite def map tests from insta to expectAleksey Kladov2020-07-175-1938/+1821
| | | | Those indentation markers are annoying...
* Move testsAleksey Kladov2020-07-172-74/+71
|
* Merge #5327bors[bot]2020-07-179-0/+20
|\ | | | | | | | | | | | | | | | | | | 5327: Mark fixes from check as preferred r=matklad a=kjeremy This allows us to run the auto fix command from vscode to automatically fix diagnostics in the file. They are also distinguished in the UI. Co-authored-by: Jeremy Kolb <[email protected]>
| * Mark machine applicable fixes as preferredJeremy Kolb2020-07-169-0/+20
| | | | | | | | | | | | | | This allows us to run the auto fix command from vscode to automatically fix all diagnostics in the file. They are also distinguished in the UI.
* | Merge #5417bors[bot]2020-07-175-35/+86
|\ \ | | | | | | | | | | | | | | | | | | | | | 5417: Mismatched arg count works for lambdas r=jonas-schievink a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Add test for fn pointersAleksey Kladov2020-07-171-0/+15
| | |
| * | call_info works with closuresAleksey Kladov2020-07-174-26/+42
| | |
| * | Mismatched arg count works for lambdasAleksey Kladov2020-07-172-10/+30
| | |
* | | Unclutter NavigationTarget APIAleksey Kladov2020-07-1711-198/+166
| | |
* | | Continue non-doc comments with trailing spaceAleksey Kladov2020-07-172-9/+59
|/ /
* | Remove FunctionSignatureAleksey Kladov2020-07-164-181/+8
| |
* | Inlay hints use callablesAleksey Kladov2020-07-163-140/+35
| |
* | RenameAleksey Kladov2020-07-164-10/+11
| |
* | Don't use function signature for DisplayAleksey Kladov2020-07-164-62/+47
| |
* | Take label offets client capability into accountAleksey Kladov2020-07-163-10/+66
| |
* | Redner self as param for call infor for assoc fn callAleksey Kladov2020-07-162-9/+40
| |
* | Better module structureAleksey Kladov2020-07-164-24/+27
| |
* | Reduce visibilityAleksey Kladov2020-07-166-29/+26
| |
* | Semantical call infoAleksey Kladov2020-07-1612-258/+310
|/
* Merge #4676bors[bot]2020-07-164-9/+29
|\ | | | | | | | | | | | | | | | | | | 4676: proc_macro: fix current nightly/future stable ABI incompatibility r=matklad a=robojumper With rust-lang/rust#72233, the proc_macro ABI has changed, leading to the `test_derive_serialize_proc_macro` test believing that `serde` wants to pass the struct name as a byte string literal instead of a string literal. Fixes #4866. Co-authored-by: robojumper <[email protected]>
| * proc_macro: fix current nightly/future stable ABI incompatibilityrobojumper2020-05-314-9/+29
| |
* | Align CallableDefId naming with other idsAleksey Kladov2020-07-1614-57/+59
| |
* | Rename CallableDefId -> InternedCallabelDefidAleksey Kladov2020-07-163-11/+11
| |
* | SimplifyAleksey Kladov2020-07-161-47/+19
| |
* | Move typeAleksey Kladov2020-07-162-9/+10
| |
* | simplifyAleksey Kladov2020-07-161-60/+47
| |
* | Merge #5401bors[bot]2020-07-1611-387/+108
|\ \ | | | | | | | | | | | | | | | | | | | | | 5401: Implement Chalk closure support r=matklad a=flodiebold This makes use of Chalk's closure support, which means we can get rid of our last built-in impls and a bunch of other surrounding stuff. Co-authored-by: Florian Diebold <[email protected]>
| * | Remove TypeCtor interningFlorian Diebold2020-07-158-38/+28
| | | | | | | | | | | | Our TypeCtor and Chalk's TypeName match now!
| * | Use Chalk closure supportFlorian Diebold2020-07-158-355/+86
| | |
* | | Update lsp-types for HoverOptionsJeremy Kolb2020-07-152-3/+3
|/ /
* | Merge #5350bors[bot]2020-07-156-8/+141
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5350: Filter assists r=matklad a=kjeremy Uses the `CodeActionContext::only` field to compute only those assists the client cares about. It works but I don't really like the implementation. Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]>
| * | Move allow list into AssistConfigJeremy Kolb2020-07-156-44/+40
| | |
| * | Invert conditionJeremy Kolb2020-07-151-1/+1
| | |
| * | Fix conversionJeremy Kolb2020-07-151-3/+3
| | |
| * | Filter assistskjeremy2020-07-136-20/+157
| | |
* | | Merge #5396bors[bot]2020-07-152-1/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5396: Cap macro expansion depth for IDE features r=matklad a=matklad closes #4453 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Cap macro expansion depth for IDE featuresAleksey Kladov2020-07-152-1/+20
| | | | | | | | | | | | | | | | closes #4453
* | | | Add new `Punctuation` highlight tagLeander Tentrup2020-07-1510-194/+198
| | | |
* | | | Highlight punctuation as `HighlightTag::Operator`Leander Tentrup2020-07-157-197/+198
| | | |
* | | | Merge #5395bors[bot]2020-07-151-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5395: Show fewer syntax errors r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Show fewer syntax errorsAleksey Kladov2020-07-151-2/+2
| | | |
* | | | Merge #5394bors[bot]2020-07-151-12/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5394: Add missing cancellation point r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Cleanup limitsAleksey Kladov2020-07-151-7/+7
| | | |
| * | | Check cancellation when updating imports recursivelyAleksey Kladov2020-07-151-0/+1
| | | | | | | | | | | | | | | | | | | | For winapi, this takes a lot of CPU time without doing queries and causes the main event loop to stall on cancellation.
| * | | Micro-optimize updateAleksey Kladov2020-07-151-5/+6
| | | |
* | | | Merge #5390bors[bot]2020-07-153-22/+25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5390: Don't drop flycheck messages during restart r=matklad a=matklad closes #5386 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Don't drop flycheck messages during restartAleksey Kladov2020-07-153-22/+25
| | | | | | | | | | | | | | | | closes #5386
* | | | Merge #5387bors[bot]2020-07-155-22/+44
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5387: Add --memory-usage to analysis-bench r=matklad a=jonas-schievink Co-authored-by: Jonas Schievink <[email protected]>
| * | | Add --memory-usage to analysis-benchJonas Schievink2020-07-155-22/+44
| | | |
* | | | Merge #5345bors[bot]2020-07-153-3/+44
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5345: Semantic Highlighting: Emit mutable modifier for 'self' when applicable r=matklad a=Veykril This PR implements emitting the mutable modifier for the self keyword when applicable for semantic highlighting as mentioned in #5041. The rendered highlighting test html file: ![firefox_5lbsFNBqsT](https://user-images.githubusercontent.com/3757771/87346245-a5a07280-c551-11ea-9051-e5901255f8c9.png) As you can see it does not emit the modifier when `self` is not used in a mutable context even if it is declared mutably in the enclosing function. I'm not sure if this is actually something wanted or not. Co-authored-by: Lukas Wirth <[email protected]>