aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | @ as operatorGrayJack2020-07-211-2/+3
| | | |
| * | | Assingment semantic highlightGrayJack2020-07-206-41/+47
| | | |
| * | | Handle semantic highlight when STAR is part of the `*{const, mut}`GrayJack2020-07-206-32/+35
| | | |
| * | | Highlight more cases of SyntaxKind when it is a punctuationGrayJack2020-07-201-14/+32
| | | |
* | | | Merge #5467bors[bot]2020-07-212-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5467: Allow null or empty values for configuration r=matklad a=kjeremy Allow the client to respond to `workspace/configuration` with `null` values. This is allowed per the spec if the client doesn't know about the configuration we've requested. This also protects against `null` or `{}` during initialize. I'm not sure if we want to interpret `{}` as "don't change anything" but I think that's a reasonable approach to take. This should help with LSP clients working out of the box. Fixes #5464 Co-authored-by: kjeremy <[email protected]>
| * | | | Protect against `{}`kjeremy2020-07-201-1/+1
| | | | |
| * | | | Allow client to respond to workspace/configuration with null valueskjeremy2020-07-202-0/+7
| | |/ / | |/| | | | | | | | | | | | | | This is allowed per the spec if the client doesn't know about the configuration we've requested.
* | | | Merge #5471bors[bot]2020-07-212-5/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5471: Typo r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | TypoAleksey Kladov2020-07-212-5/+5
| | | | |
* | | | | Merge #5470bors[bot]2020-07-212-2/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5470: Propagate cargo.target to checkOnSave r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Propagate cargo.target to checkOnSaveAleksey Kladov2020-07-212-2/+11
| | | | |
* | | | | Merge #5458bors[bot]2020-07-213-849/+896
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5458: Use expect in some ra_hir_ty tests r=flodiebold a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Inline lang items in coercion testsLaurențiu Nicola2020-07-202-27/+65
| | | | |
| * | | | Use expect in never_type testsLaurențiu Nicola2020-07-203-186/+185
| | | | |
| * | | | Use expect in coercion testsLaurențiu Nicola2020-07-201-674/+684
| | | | |
* | | | | Merge #5460bors[bot]2020-07-201-6/+6
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5460: cargo update r=kjeremy a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * | | | cargo updatekjeremy2020-07-201-6/+6
|/ / / /
| | | |
| \ \ \
*-. \ \ \ Merge #5439 #5459bors[bot]2020-07-202-20/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5439: cargo update r=matklad a=kjeremy 5459: Fix typo r=matklad a=matklad bors r+ 🤖 Co-authored-by: Jeremy Kolb <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| | * | | | Fix typoAleksey Kladov2020-07-201-1/+1
| | | | | |
| * | | | | cargo updateJeremy Kolb2020-07-191-19/+20
| | | | | |
* | | | | | Merge #5440bors[bot]2020-07-207-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5440: Minor perf tweaks per clippy r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | | | | | Minor perf tweaks per clippyJeremy Kolb2020-07-197-8/+8
| |/ / / / /
* | | | | | Merge #5457bors[bot]2020-07-202-33/+41
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5457: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | | SimplifyAleksey Kladov2020-07-201-9/+5
| | | | | |
| * | | | | Add is_workspace_member for rust-project.jsonAleksey Kladov2020-07-201-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is currently unused, but, in the future, it will be used to: * drive certain UX (symbols search by default will look only in the members) * improve performance (rust-analyzer will assume that non-members change rarely) If not specified, is_workspace member is inferred from the path
* | | | | | Merge #5456bors[bot]2020-07-202-11/+11
|\| | | | | | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5456: Simplify r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | SimplifyAleksey Kladov2020-07-202-11/+11
|/ / / /
* | | | Merge #5438bors[bot]2020-07-191-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5438: Fix a typo in completion docs r=kjeremy a=killercup Co-authored-by: Pascal Hertleif <[email protected]>
| * | | Fix a typo in completion docsPascal Hertleif2020-07-191-1/+1
|/ / /
* | | Merge #5437bors[bot]2020-07-191-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 5437: Specify default adt representation for chalk integration r=flodiebold a=detrumi Turns out that using the .chalk writer infra causes this line being hit, so let's just return the default representation for now. Co-authored-by: Wilco Kusee <[email protected]>
| * | Specify default adt representation for chalk integrationWilco Kusee2020-07-191-1/+1
|/ /
* | Merge #5433bors[bot]2020-07-187-141/+120
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5433: Simplify exclusion logic r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Simplify exclusion logicAleksey Kladov2020-07-187-141/+120
|/ /
* | Merge #5431bors[bot]2020-07-181-5/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5431: Don't show docs in concise signature help r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Don't show docs in concise signature helpAleksey Kladov2020-07-181-5/+9
|/ /
* | Merge #5430bors[bot]2020-07-181-1/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5430: Add turbo-fish works after `()` r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Add turbo-fish works after `()`Aleksey Kladov2020-07-181-1/+28
|/ /
* | Merge #5423bors[bot]2020-07-172-0/+102
|\ \ | | | | | | | | | | | | | | | | | | | | | 5423: Correctly resolve assoc. types in path bindings r=matklad a=jonas-schievink Previously invoking goto def on `impl Iterator<Item<|> = ()>` would go to `Iterator`, not `Item`. This fixes that. Co-authored-by: Jonas Schievink <[email protected]>
| * | Correctly resolve assoc. types in path bindingsJonas Schievink2020-07-172-0/+102
| | |
* | | Merge #5427bors[bot]2020-07-171-79/+52
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5427: More precise ranges in remove hashes assist r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | More precise ranges in remove hashes assistAleksey Kladov2020-07-171-79/+52
|/ / /
* | | Merge #5425bors[bot]2020-07-174-165/+169
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5425: Remove insta for ra_hir_def r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Remove insta for ra_hir_defAleksey Kladov2020-07-174-165/+169
| | | |
* | | | Merge #5424bors[bot]2020-07-172-0/+20
|\| | | | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 5424: Fix out of bounds panic in active parameter r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Fix out of bounds panic in active parameterAleksey Kladov2020-07-172-0/+20
|/ /
* | Merge #5422bors[bot]2020-07-177-2012/+1892
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5422: Rewrite def map tests from insta to expect r=matklad a=matklad Those indentation markers are annoying... bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | 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.