aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Guard against infinite macro expansionsAleksey Kladov2020-07-142-0/+29
| | | | | | | | | | | | closes #4463
* | | Merge #5377bors[bot]2020-07-142-2/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5377: Fix classify_name_ref on multi-path macro calls r=matklad a=jonas-schievink Previously, "go to definition" on `log<|>::info!(...)` would go to the `info!` macro, not to the `log` crate. This fixes that. Co-authored-by: Jonas Schievink <[email protected]>
| * | | Fix classify_name_ref on multi-path macro callsJonas Schievink2020-07-142-2/+26
| | | |
* | | | Merge #5375bors[bot]2020-07-141-19/+23
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5375: Use more explicit type for save registration r=matklad a=kjeremy This was introduced in the latest lsp-types Co-authored-by: kjeremy <[email protected]>
| * | | Use more explicity type for save registrationkjeremy2020-07-141-19/+23
| | | |
* | | | Refactor the test of diagnostic testsAleksey Kladov2020-07-146-474/+278
| | | |
* | | | Minor, push allocations downAleksey Kladov2020-07-142-3/+3
|/ / /
* | | Merge #5371bors[bot]2020-07-143-14/+68
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5371: Allow multiline annotations r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Allow multiline annotationsAleksey Kladov2020-07-143-13/+59
| | | |
| * | | Generaize annotation extractionAleksey Kladov2020-07-141-2/+10
| | | |
* | | | Merge pull request #5370 from matklad/parensAleksey Kladov2020-07-142-1/+39
|\ \ \ \ | |/ / / |/| | | Don't duplicate parens in patterns
| * | | Don't duplicate parens in patternsAleksey Kladov2020-07-142-1/+37
| | | |
| * | | Add markAleksey Kladov2020-07-141-0/+2
| | | |
* | | | Merge #5367bors[bot]2020-07-142-0/+40
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 5367: missing impl members: remove assoc. type bounds r=matklad a=jonas-schievink Previously "Add missing impl members" would paste bounds on associated types into the impl, which is not allowed. This removes them before pasting the item. Co-authored-by: Jonas Schievink <[email protected]>
| * | | Move remove_bounds to edit.rsJonas Schievink2020-07-143-22/+16
| | | |
| * | | missing impl members: remove assoc. type boundsJonas Schievink2020-07-142-0/+46
| | | |
* | | | Merge #5368bors[bot]2020-07-144-1267/+511
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5368: Compress match checking tests r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Compress match checking testsAleksey Kladov2020-07-143-1168/+419
| | | |
| * | | Data-driven diagnostics testsAleksey Kladov2020-07-143-100/+93
| | | |
* | | | 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
| | |