aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* 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 #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]>
| * Correctly generate new struct field in file containing struct defTimo Freiberg2020-07-101-3/+55
| |
* | disable profilingAleksey Kladov2020-07-113-7/+1
| |
* | Profiling exampleAleksey Kladov2020-07-114-2/+13
| |
* | Profiling tweaksAleksey Kladov2020-07-113-0/+9
| |
* | Don't show error when speculatively reloading workspaceAleksey Kladov2020-07-111-4/+6
| |
* | Speed up completionAleksey Kladov2020-07-118-20/+19
| |
* | SimplifyAleksey Kladov2020-07-101-1/+1
| |
* | Don't spawn notify unnecessaryAleksey Kladov2020-07-103-6/+8
| |
* | Optimize VFS processingAleksey Kladov2020-07-102-30/+40
| |
* | Sort cargo metadataAleksey Kladov2020-07-101-2/+4
| | | | | | | | | | | | See https://github.com/rust-lang/cargo/issues/8477 We need this to prevent spurious workspace reloads
* | Add profiling callsAleksey Kladov2020-07-102-0/+6
| |
* | Also reload when adding new examples, tests, etcAleksey Kladov2020-07-104-11/+58
|/
* Better caret placement when filling match armsAleksey Kladov2020-07-101-124/+86
|
* Better nameAleksey Kladov2020-07-102-4/+4
|
* Don't add braces after structAleksey Kladov2020-07-101-1/+1
| | | | Unit structs are a thing
* Better complete expression keywordsAleksey Kladov2020-07-102-11/+27
|
* Complete params in nested fnsAleksey Kladov2020-07-101-5/+16
|
* Complete parameters more aggressivelyAleksey Kladov2020-07-101-9/+12
|
* Refresh testsAleksey Kladov2020-07-101-30/+7
|
* Merge #5293bors[bot]2020-07-106-28/+52
|\ | | | | | | | | | | | | | | | | | | | | 5293: Automatically reload project info on Cargo.toml changes r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Automatically reload project info on Cargo.toml changesAleksey Kladov2020-07-106-28/+52
| |
* | Look through Arc for goto type definitionAleksey Kladov2020-07-101-1/+1
| |
* | Simplify testsAleksey Kladov2020-07-101-60/+53
| |
* | Dont expose IDAleksey Kladov2020-07-101-4/+3
| |
* | RenameAleksey Kladov2020-07-102-3/+2
| |
* | Goto type definition works for selfAleksey Kladov2020-07-105-8/+51
|/
* Merge #5286bors[bot]2020-07-101-1/+2
|\ | | | | | | | | | | | | | | 5286: Only take first 500 syntax errors r=jonas-schievink a=yihuang Too many syntax errors make some editor/ide slow, fix #3434. Co-authored-by: yihuang <[email protected]>
| * Only take first 500 syntax errorsyihuang2020-07-101-1/+2
| | | | | | | | Too many syntax errors make some editor/ide slow, fix #3434.
* | Avoid accidently stumping over config valuesAleksey Kladov2020-07-103-134/+169
|/
* Don't mess with cursor position when adding hashesAleksey Kladov2020-07-094-17/+35
|