aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge #5352bors[bot]2020-07-131-13/+2
|\ | | | | | | | | | | | | | | | | 5352: Bump tracing-tree to remove quanta r=kjeremy a=kjeremy Hopefully fixes power 32-bit build. See: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Running.20check.20builds.20on.2032.20bit.20power Co-authored-by: kjeremy <[email protected]>
| * Bump tracing-tree to remove quantakjeremy2020-07-131-13/+2
|/ | | | | Hopefully fixes power 32-bit build. See: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Running.20check.20builds.20on.2032.20bit.20power
* Merge #5342bors[bot]2020-07-1313-125/+90
|\ | | | | | | | | | | | | | | | | | | | | 5342: Don't copy-paste `impl_froms` into every crate r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Don't copy-paste `impl_froms` into every crateAleksey Kladov2020-07-1312-106/+69
| |
| * Move stdx macros into submoduleAleksey Kladov2020-07-132-19/+21
|/
*-. Merge #5340 #5341bors[bot]2020-07-134-9/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5340: Prefill reviewer r=matklad a=matklad bors r+ 🤖 5341: Reorder imports r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| | * Reorder importsAleksey Kladov2020-07-133-8/+7
| | |
| * | Prefill reviewerAleksey Kladov2020-07-131-1/+4
| |/
* | Merge #5339bors[bot]2020-07-131-4/+4
|\ \ | |/ |/| | | | | | | | | | | 5339: Update adler and syn r=kjeremy a=kjeremy Might boost compression speeds: https://github.com/jonas-schievink/adler/releases/tag/v0.2.3 Co-authored-by: kjeremy <[email protected]>
| * Update adler and synkjeremy2020-07-131-4/+4
|/
* 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.
* | 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