aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Remove the need to manually sync config in package.jsonAleksey Kladov2021-01-263-20/+39
| | | |
* | | | Merge #7433bors[bot]2021-01-264-89/+228
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7433: Support Macro v2 in mbe r=jonas-schievink a=edwin0cheng Added `mbe::MacroDef` for Macro v2. cc @jonas-schievink Co-authored-by: Edwin Cheng <[email protected]>
| * | | | Support Macro v2 in mbeEdwin Cheng2021-01-254-89/+228
| | |/ / | |/| |
* | | | Merge #7393bors[bot]2021-01-261-1/+50
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7393: Document `paths` items r=matklad a=arnaudgolfouse Co-authored-by: Arnaud <[email protected]>
| * | | | Document `paths` itemsArnaud2021-01-221-1/+50
| | | | |
* | | | | Merge #7406bors[bot]2021-01-264-22/+106
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7406: if_let_match: don't assume happy path r=matklad a=bugadani Closes #7392 Co-authored-by: Dániel Buga <[email protected]>
| * | | | Deduplicate variant matchingDániel Buga2021-01-223-42/+25
| | | | |
| * | | | replace_if_let_with_match: don't assume sad patternDániel Buga2021-01-222-2/+103
| | | | |
* | | | | Merge #7445bors[bot]2021-01-261-0/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7445: Document design label r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Document design labelAleksey Kladov2021-01-261-0/+4
|/ / / /
* | | | Merge #7438bors[bot]2021-01-262-4/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7438: Shorten hir::TypeParam ranges for traits in NavigationTarget r=matklad a=Veykril I noticed that selecting `Self` here highlights the entire trait, ![Code_a8DMOEUuWY](https://user-images.githubusercontent.com/3757771/105779993-d2592c00-5f6f-11eb-81d1-bd99f9369cf7.png) this should cut it down to just the trait name and the `Self` which imo seems better. ![image](https://user-images.githubusercontent.com/3757771/105780410-ac805700-5f70-11eb-882b-10ed63b951f2.png) Co-authored-by: Lukas Wirth <[email protected]>
| * | | | Shorten hir::TypeParam full_range in NavigationTargetLukas Wirth2021-01-262-4/+23
|/ / / /
* | | | Merge #7430bors[bot]2021-01-252-10/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7430: Simplify file download code r=matklad a=lnicola This avoids leaving the user with no LSP binary available if their network goes down during the download, and should not keep the current behavior: overwriting a running executable works on Unix and fails on Windows. It also removes the `overwrite` argument, which is always enabled and wasn't working anyway. Nominally closes #3896 (although that's already fixed) Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Simplify file download codeLaurențiu Nicola2021-01-252-10/+1
| | |_|/ | |/| |
* | | | Merge #7431bors[bot]2021-01-256-74/+158
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7431: Handle `super` paths inside blocks correctly r=jonas-schievink a=jonas-schievink We now intern `BlockLoc` and use `BlockId` to refer to block expressions. This is needed to keep `ModuleId` simple, since it would otherwise have to store an arbitrarily long chain of blocks and couldn't be `Copy`. The `DefMap` hierarchy is now created as the caller descends into an item body. This is necessary to link the correct module as the block's parent, which is important for correct name resolution. As a result, we can now resolve `super` paths inside block expressions by climbing the `DefMap` chain. bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | | Traverse parent DefMap for `super` pathsJonas Schievink2021-01-252-9/+54
| | | |
| * | | Intern block locations and handle them in ModuleIdJonas Schievink2021-01-255-65/+104
|/ / /
* | | Merge #7426bors[bot]2021-01-2511-87/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7426: Create all `ModuleId`s through a `DefMap` method r=jonas-schievink a=jonas-schievink `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId` bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | | Create all `ModuleId`s through a `DefMap` methodJonas Schievink2021-01-2511-87/+48
| | | | | | | | | | | | | | | | | | | | `ModuleId` needs to be able to represent blocks, and only the associated `DefMap` will know how to construct that `ModuleId`
* | | | Merge #7424bors[bot]2021-01-252-12/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 7424: Derive Default on ItemTree r=lnicola a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | Derive Default on ItemTreeLaurențiu Nicola2021-01-252-12/+3
| | | |
* | | | Merge #7425bors[bot]2021-01-251-3/+4
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 7425: Fix typo in style guide r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | Fix typo in style guideLaurențiu Nicola2021-01-251-3/+4
|/ / /
* | | Merge #7422bors[bot]2021-01-251-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7422: Disallow non-boolean literals in concat! r=lnicola a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | Disallow non-boolean literals in concat!Laurențiu Nicola2021-01-251-2/+4
| | | |
| | | |
| \ \ \
*-. \ \ \ Merge #7409 #7421bors[bot]2021-01-256-34/+53
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7409: Add References CodeLens. r=matklad a=vsrs Closes #5836 7421: Fix RA_LOG example in dev docs r=lnicola a=lnicola bors r+ Co-authored-by: vsrs <[email protected]> Co-authored-by: Laurențiu Nicola <[email protected]>
| | * | | Fix RA_LOG example in dev docsLaurențiu Nicola2021-01-251-1/+1
| | | | |
| * | | | Add References code lens.vsrs2021-01-235-33/+52
| | | | | | | | | | | | | | | | | | | | For Struct, Enum, Union and Trait symbols.
* | | | | Merge #7419bors[bot]2021-01-251-16/+8
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7419: Unquote strings when expanding concat! r=matklad a=lnicola Fixes #7417. Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Unquote strings and handle boolean literals in concat!Laurențiu Nicola2021-01-251-16/+8
|/ / / /
* | | | Merge #7418bors[bot]2021-01-253-6/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7418: :arrow_up: rowan r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | :arrow_up: rowanAleksey Kladov2021-01-253-6/+6
|/ / / /
* | | | Merge #7415bors[bot]2021-01-251-7/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7415: Code: reduce progress notification spam r=lnicola a=lnicola Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | | Code: reduce progress notification spamLaurențiu Nicola2021-01-251-7/+9
|/ / / /
* | | | Merge #7414bors[bot]2021-01-246-25/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7414: Add validation for mutable const items r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * | | | Add validation for mutable const itemsLukas Wirth2021-01-246-25/+40
| | | | |
* | | | | Merge #7413bors[bot]2021-01-243-7/+11
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7413: Handle unions in symbol search r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * | | | Support unions in symbol searchLukas Wirth2021-01-243-7/+11
|/ / / /
* | | | Merge #7411bors[bot]2021-01-231-7/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 7411: cargo update r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | | cargo updateJeremy Kolb2021-01-231-7/+7
|/ / /
* | | Merge #7062bors[bot]2021-01-237-19/+224
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7062: Add diagnostic for filter_map followed by next r=theotherphil a=theotherphil Fixes https://github.com/rust-analyzer/rust-analyzer/issues/1725 Co-authored-by: Phil Ellison <[email protected]>
| * | | Remove use of SourceFileEditPhil Ellison2021-01-231-2/+1
| | | |
| * | | Update tests to register the required standard library typesPhil Ellison2021-01-232-16/+48
| | | |
| * | | Fix test namesPhil Ellison2021-01-231-4/+4
| | | |
| * | | Identify methods using functions ids rather than string namesPhil Ellison2021-01-233-7/+31
| | | |
| * | | cargo fmtPhil Ellison2021-01-231-1/+5
| | | |
| * | | Address review commentsPhil Ellison2021-01-231-9/+4
| | | |
| * | | cargo fmtPhil Ellison2021-01-231-2/+7
| | | |
| * | | Implement fix, add testsPhil Ellison2021-01-234-55/+66
| | | |
| * | | Add diagnostic for filter_map followed by nextPhil Ellison2021-01-235-15/+150
|/ / /