aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix #4966Florian Diebold2020-07-122-2/+63
| | | | | | | | | | | | | | | | | | | | We add a level of binders when converting our function pointer to Chalk's; we need to remove it again on the way back.
* | | | Merge #5319bors[bot]2020-07-1213-353/+420
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5319: Chalk upgrade r=flodiebold a=flodiebold - upgrade Chalk - make use of Chalk's `Unsize` impls, remove ours - use Chalk's built-in array type - search efficiently for impls for an int/float variable - output Chalk tracing logs in hir_ty tests Fixes #2534. Fixes #5057. Fixes #4374. Fixes #4281. Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Florian Diebold <[email protected]>
| * | | | Remove some unnecessary file namesFlorian Diebold2020-07-121-3/+0
| | | | |
| * | | | Add test for #4281Florian Diebold2020-07-121-0/+23
| | | | | | | | | | | | | | | | | | | | Fixes #4281.
| * | | | Search more efficiently for int/float implsFlorian Diebold2020-07-123-18/+118
| | | | |
| * | | | Adapt trait object coercion tests to the status quoFlorian Diebold2020-07-121-4/+51
| | | | |
| * | | | Use Chalk built-in representation for array typesFlorian Diebold2020-07-121-7/+36
| | | | |
| * | | | Remove built-in Unsize implsFlorian Diebold2020-07-124-235/+6
| | | | | | | | | | | | | | | | | | | | They exist in Chalk now.
| * | | | Upgrade ChalkFlorian Diebold2020-07-122-17/+20
| | | | |
| * | | | Enable Chalk tracing in hir_ty testsFlorian Diebold2020-07-126-67/+114
| | | | |
| * | | | Upgrade ChalkFlorian Diebold2020-07-125-13/+63
|/ / / /
* | | | Merge #5332bors[bot]2020-07-123-4/+4
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5332: Update lsp-types r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | | Update lsp-typesJeremy Kolb2020-07-123-4/+4
|/ / /
* | | Merge #5330bors[bot]2020-07-121-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5330: Fix ignore attribute autocompletion r=matklad a=avrong Fixes #5232 <img width="273" alt="image" src="https://user-images.githubusercontent.com/6342851/87242025-a4782400-c431-11ea-91b7-5127f9742122.png"> <img width="238" alt="image" src="https://user-images.githubusercontent.com/6342851/87242044-c96c9700-c431-11ea-8161-f197f8e97ca0.png"> Co-authored-by: Aleksei Trifonov <[email protected]>
| * | | Fix ignore attribute autocompletionAleksei Trifonov2020-07-121-3/+3
| | | |
* | | | Merge #5326bors[bot]2020-07-122-2/+32
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5326: infer: Add type inference support for Union types r=flodiebold a=otavio This adds the type inference to Union types and add a small test case for it, ensuring it keeps working in future. Fixes: #5277 Signed-off-by: Otavio Salvador <[email protected]> ---- # Co-authored-by: Otavio Salvador <[email protected]>
| * | | infer: Add type inference support for Union typesOtavio Salvador2020-07-112-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the type inference to Union types and add a small test case for it, ensuring it keeps working in future. Fixes: #5277 Signed-off-by: Otavio Salvador <[email protected]>
* | | | Merge #5329bors[bot]2020-07-121-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5329: Comment decorations r=matklad a=matklad closes #4461 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Comment decorationsAleksey Kladov2020-07-121-1/+4
| | | | | | | | | | | | | | | | | | | | closes #4461
* | | | | Merge #5328bors[bot]2020-07-121-3/+13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5328: change vis works on statics r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | change vis works on staticsAleksey Kladov2020-07-121-3/+13
|/ / / /
* | | | Merge #5325bors[bot]2020-07-1111-31/+40
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5325: Update lsp-types to account for new CodeActionKind structure r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | | Update testsJeremy Kolb2020-07-114-4/+12
| | | |
| * | | Update lsp-types to account for new CodeActionKind structureJeremy Kolb2020-07-117-27/+28
| | | |
* | | | Merge #5324bors[bot]2020-07-112-3/+9
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5324: Implementations lens for unions r=matklad a=matklad closes #4728 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Implementations lens for unionsAleksey Kladov2020-07-112-3/+9
| | | | | | | | | | | | | | | | closes #4728
* | | | Merge #5323bors[bot]2020-07-114-105/+112
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5323: Rewrite item_tree tests to expect r=matklad a=matklad insta review wouldn't update the test, so ... bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Rewrite item_tree tests to expectAleksey Kladov2020-07-113-105/+111
| | | | | | | | | | | | | | | | insta review wouldn't update the test, so ...
| * | | Extern fns are implicitly unsafeAleksey Kladov2020-07-111-0/+1
|/ / / | | | | | | | | | closes #4865
* | | Merge #5320bors[bot]2020-07-111-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5320: Bump macro recursion limit in release r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Bump macro recursion limit in releaseAleksey Kladov2020-07-111-2/+8
| | | |
* | | | Merge #5318bors[bot]2020-07-111-6/+48
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5318: More tight recursion limit when expanding macros in function bodies r=matklad a=matklad cc #4944 cc #5317 This doesn't fully close #4944 -- looks like we hit SO in syntax highlighting, when we use `Semantics::expand_macro`. Seems like we need to place expansion limit on the macro itself (store it as a part of MacroCallId?)! bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | More tight recursion limit when expanding macros in function bodiesAleksey Kladov2020-07-111-6/+48
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc #4944 cc #5317 This doesn't fully close #4944 -- looks like we hit SO in syntax highlighting, when we use `Semantics::expand_macro`. Seems like we need to place expansion limit on the macro itself (store it as a part of MacroCallId?)!
* | | Merge #5315bors[bot]2020-07-111-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5315: Minor r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | MinorAleksey Kladov2020-07-111-3/+3
| | | |
* | | | Merge #5314bors[bot]2020-07-1111-20/+44
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5314: Use dedicated semantic highlight tag for parameters r=matklad a=matklad closes #5106 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Use dedicated semantic highlight tag for parametersAleksey Kladov2020-07-1111-20/+44
|/ / / | | | | | | | | | closes #5106
* | | Merge #5313bors[bot]2020-07-114-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5313: no doctests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | no doctestsAleksey Kladov2020-07-114-0/+12
| | | |
* | | | Merge #5312bors[bot]2020-07-113-18/+31
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5312: Make slow test parallel r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Make slow test parallelAleksey Kladov2020-07-113-18/+31
| | | | |
* | | | | Merge #5311bors[bot]2020-07-113-0/+18
|\| | | | | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5311: Fix goto definition for type alias type parameters r=matklad a=matklad closes https://github.com/rust-analyzer/rust-analyzer/issues/5042 bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Fix goto definition for type alias type parametersAleksey Kladov2020-07-113-0/+18
| | | | | | | | | | | | | | | | closes https://github.com/rust-analyzer/rust-analyzer/issues/5042
* | | | Merge #5310bors[bot]2020-07-111-31/+31
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5310: Reduce visibility r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Reduce visibilityAleksey Kladov2020-07-111-31/+31
| | | |
* | | | Merge #5309bors[bot]2020-07-118-9/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5309: Make sure there are no commands in code actions r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Make sure there are no commands in code actionsAleksey Kladov2020-07-118-9/+3
| | | |
* | | | Merge #4996bors[bot]2020-07-111-3/+55
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4996: Correctly generate new struct field in file containing struct def r=matklad a=TimoFreiberg WIP because the test doesn't pass. Testing the fix by hand looked good, although quickfixes seem to not support setting the editor cursor yet, which i think we want for "generate missing defs from usage" fixes. Co-authored-by: Timo Freiberg <[email protected]>
| * | | Correctly generate new struct field in file containing struct defTimo Freiberg2020-07-101-3/+55
| | | |
* | | | Merge #5307bors[bot]2020-07-111-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5307: disable profiling r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>