aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Force XCode versionLaurențiu Nicola2021-01-281-0/+8
| |
* | Merge #7468bors[bot]2021-01-271-3/+35
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7468: Enable fill_match_arms in macros r=Veykril a=Veykril Fixes #3936 The indentation is a bit off, but I don't think it's worth trying to fix that up until we have a proper formatting thing set up, as this most likely requires some hand picked specializing making the implementation worse to read(Assuming this can even be fixed for all cases by hardcoding indentation fixes). bors r+ Co-authored-by: Lukas Wirth <[email protected]>
| * | Enable fill_match_arms in macrosLukas Wirth2021-01-271-3/+35
|/ /
* | Merge #7466bors[bot]2021-01-272-1/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | 7466: Fix legacy macro resolution in block expressions r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | Fix legacy macro resolution in block expressionsJonas Schievink2021-01-272-1/+15
|/ /
* | Merge #7451bors[bot]2021-01-275-12/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | 7451: rust-analyzer.files.excludeDirs r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Add config option to ignore directoriesAleksey Kladov2021-01-265-6/+32
| | |
| * | Allow non-absolute paths to rust sourceAleksey Kladov2021-01-261-6/+2
| | |
* | | Merge #7465bors[bot]2021-01-271-1/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7465: Only hide parameter hints for path, field and methodcall expressions r=SomeoneToIgnore a=Veykril Doing this check for other expressions makes little sense to me. Fixes #7458 Co-authored-by: Lukas Wirth <[email protected]>
| * | | Only hide parameter hints for path, field and methodcall expressionsLukas Wirth2021-01-271-1/+19
| | | |
* | | | Merge #7464bors[bot]2021-01-271-1/+4
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7464: Export `CARGO` for proc. macros r=jonas-schievink a=jonas-schievink Fixes https://github.com/rust-analyzer/rust-analyzer/issues/7462 bors r+ Co-authored-by: Jonas Schievink <[email protected]>
| * | | Export `CARGO` for proc. macrosJonas Schievink2021-01-271-1/+4
|/ / /
* | | Merge #7463bors[bot]2021-01-273-29/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7463: Bump deps r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <[email protected]>
| * | | Bump depsLaurențiu Nicola2021-01-273-29/+29
|/ / /
* | | Merge #7461bors[bot]2021-01-273-3/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7461: Squelch a warning r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | Squelch a warningAleksey Kladov2021-01-271-0/+1
| | | |
| * | | add more countsAleksey Kladov2021-01-275-4/+10
| | | |
* | | | Merge #7460bors[bot]2021-01-273-1/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 7460: add more counts r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | add more countsAleksey Kladov2021-01-273-1/+7
|/ / /
* | | Merge #7457bors[bot]2021-01-265-21/+97
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7457: Add no-buffering file logging and wait for a debugger option. r=vsrs a=vsrs Adds two command line flags: `--no-buffering` and `--wait-dbg`. Not sure if someone else needs this, but personally I found both flags extremely useful trying to figure out why RA does not work with Visual Studio. Or better to say why Visual Studio does not work with RA. Co-authored-by: vsrs <[email protected]>
| * | | Apply suggestions.vsrs2021-01-262-11/+17
| | | |
| * | | cargo fmtvsrs2021-01-261-1/+1
| | | |
| * | | Add debug only guard for the --wait-dbg flagvsrs2021-01-262-1/+4
| | | |
| * | | Add RA_WAIT_DBG and docsvsrs2021-01-253-1/+10
| | | |
| * | | Add "Win Attach to Server" debug configurationvsrs2021-01-251-0/+6
| | | |
| * | | Add the ability to wait for a debugger.vsrs2021-01-252-7/+45
| | | |
| * | | Add stderr flushvsrs2021-01-252-8/+16
| | | |
| * | | Add --no-buffering flag for the file logging.vsrs2021-01-253-15/+21
| | | |
* | | | Merge #7455bors[bot]2021-01-2611-73/+24
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7455: Make always-assert crate reusable r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Make always-assert crate reusableAleksey Kladov2021-01-2611-73/+24
|/ / / /
* | | | Merge #7405bors[bot]2021-01-261-0/+28
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 7405: fill_match_arms: don't duplicate Ident-like arms r=matklad a=bugadani Co-authored-by: Dániel Buga <[email protected]>
| * | | Add failing test caseDániel Buga2021-01-261-0/+28
|/ / /
* | | Merge #7450bors[bot]2021-01-263-20/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7450: Remove the need to manually sync config in package.json r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * | | 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
|/ / /