aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* Merge #5355bors[bot]2020-07-1428-0/+28
|\ | | | | | | | | | | | | | | | | 5355: Add a license field to all the crates r=matklad a=JohnTitor Some are unnecessary but it's okay to have it, I think. cc https://github.com/rust-lang/rust/issues/74269 Co-authored-by: Yuki Okushi <[email protected]>
| * Add a license field to all the cratesYuki Okushi2020-07-1428-0/+28
| |
* | Reduce visibilityAleksey Kladov2020-07-141-85/+83
| |
* | Cleanup visibilityAleksey Kladov2020-07-143-8/+12
| |
* | Cleanup hir diagnostics APIAleksey Kladov2020-07-146-48/+49
| |
* | Consolidate hir diagnostics code in one placeAleksey Kladov2020-07-148-19/+18
| |
* | Use relaxed ordering for marksAleksey Kladov2020-07-141-2/+2
|/ | | | | | We dont' need this for perf. `Relaxed` ordering is enough here, as we only have one location. I prefer to use minimal ordering, because that makes it easier to reason about the code.
* Don't copy-paste `impl_froms` into every crateAleksey Kladov2020-07-1311-106/+67
|
* Move stdx macros into submoduleAleksey Kladov2020-07-132-19/+21
|
* Reorder importsAleksey Kladov2020-07-133-8/+7
|
* Merge #5331bors[bot]2020-07-122-2/+63
|\ | | | | | | | | | | | | | | | | | | 5331: Fix #4966 r=flodiebold a=flodiebold We add a level of binders when converting our function pointer to Chalk's; we need to remove it again on the way back. Fixes #4966. Co-authored-by: Florian Diebold <[email protected]>
| * 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.
* | 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-121-2/+3
| |
* | Enable Chalk tracing in hir_ty testsFlorian Diebold2020-07-125-66/+56
| |
* | Upgrade ChalkFlorian Diebold2020-07-125-13/+63
| |
* | Update lsp-typesJeremy Kolb2020-07-122-2/+2
|/
* 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]>
* | Comment decorationsAleksey Kladov2020-07-121-1/+4
| | | | | | | | closes #4461
* | change vis works on staticsAleksey Kladov2020-07-121-3/+13
| |
* | Merge #5325bors[bot]2020-07-1110-29/+38
|\ \ | |/ |/| | | | | | | | | | | 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-116-25/+26
| |
* | 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
* | Rewrite item_tree tests to expectAleksey Kladov2020-07-112-105/+110
| | | | | | | | insta review wouldn't update the test, so ...
* | Extern fns are implicitly unsafeAleksey Kladov2020-07-111-0/+1
|/ | | | closes #4865
* Bump macro recursion limit in releaseAleksey Kladov2020-07-111-2/+8
|
* 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?)!
* MinorAleksey Kladov2020-07-111-3/+3
|
* 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-112-18/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5312: Make slow test parallel r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | Make slow test parallelAleksey Kladov2020-07-112-18/+30
| | |
* | | 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]>