aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Pull macro upAleksey Kladov2019-11-243-28/+16
|
* Cleanup importsAleksey Kladov2019-11-248-27/+20
|
* Push poison_macros downAleksey Kladov2019-11-242-25/+28
|
* Reduce visbilityAleksey Kladov2019-11-241-10/+10
|
* Merge #2378bors[bot]2019-11-241-3/+6
|\ | | | | | | | | | | | | | | 2378: Fix panic in batch analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Fix panic in batch analysisAleksey Kladov2019-11-241-3/+6
| | | | | | | | Closes #2272
* | Merge #2365bors[bot]2019-11-241-9/+31
|\ \ | | | | | | | | | | | | | | | | | | | | | 2365: Make expand-macro more flexible r=matklad a=edwin0cheng Due to lack of implementation or other types of errors, some macros do not expand correctly in the current situation. The PR attempts to make `expand-macro` more flexible in error situations by ignoring internal failed macro expansion. Co-authored-by: Edwin Cheng <[email protected]>
| * | Improve fail case in expand_macroEdwin Cheng2019-11-231-9/+31
| | |
* | | Merge #2343bors[bot]2019-11-248-35/+174
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2343: implement assist invert_if r=matklad a=bravomikekilo fix [issue 2219 invert if condition](https://github.com/rust-analyzer/rust-analyzer/issues/2219) I put the assist cursor range to `if` of the if expression, because both condition and body will be replaced. Is there any way to replace them without cover the cursor position? @matklad Co-authored-by: bravomikekilo <[email protected]>
| * | | do refact and fix some issuebravomikekilo2019-11-247-60/+72
| | | |
| * | | fix tidy testbravomikekilo2019-11-211-7/+11
| | | |
| * | | initial invert_ifbravomikekilo2019-11-215-1/+124
| | | |
* | | | Merge #2360bors[bot]2019-11-244-42/+184
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 2360: Refactor builtin macro r=matklad a=edwin0cheng Refactor builtin macro and add some local tests. Co-authored-by: Edwin Cheng <[email protected]>
| * | | Use macro for all the thingsEdwin Cheng2019-11-231-48/+31
| | | |
| * | | Rename BuiltinExpander to BuiltinFnLikeExpanderEdwin Cheng2019-11-233-14/+14
| | | |
| * | | Refactor builtin macroEdwin Cheng2019-11-221-18/+124
| | | |
| * | | Add TestDBEdwin Cheng2019-11-222-0/+53
| | | |
* | | | Merge #2375bors[bot]2019-11-2311-158/+151
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2375: Privatise nameres r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Move ModuleSource back to hirAleksey Kladov2019-11-234-78/+71
| | | | |
| * | | | Privatise nameresAleksey Kladov2019-11-237-10/+12
| | | | |
| * | | | Rename CrateModuleIdAleksey Kladov2019-11-238-54/+54
| | | | |
| * | | | Move ImportIdAleksey Kladov2019-11-235-28/+26
| | | | |
* | | | | Merge #2374bors[bot]2019-11-235-41/+43
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2374: Simplify HasSource r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Simplify HasSourceAleksey Kladov2019-11-231-21/+18
| | | | |
| * | | | Hide ImportIdAleksey Kladov2019-11-234-21/+26
| | | | |
| * | | | Remove unneded supertraitAleksey Kladov2019-11-231-1/+1
|/ / / /
* | | | Merge #2373bors[bot]2019-11-232-11/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2373: Cleanup imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Cleanup importsAleksey Kladov2019-11-231-1/+1
| | | | |
| * | | | Cleanup importsAleksey Kladov2019-11-231-10/+10
|/ / / /
* | | | Merge #2372bors[bot]2019-11-2328-262/+236
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2372: Note that debugging infra is broken r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Note that debugging infra is brokenAleksey Kladov2019-11-231-0/+2
| | | | |
| * | | | Get rid of DefDatabase2Aleksey Kladov2019-11-2323-135/+123
| | | | |
| * | | | Move docs to hir_defAleksey Kladov2019-11-2311-134/+118
| | | | |
* | | | | Merge #2370bors[bot]2019-11-231-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2370: Add note about neovim's built in language server r=matklad a=norcalli I implemented a builtin language server client (`:h lsp.txt`) for neovim and it's been in master since 2019-11-13. We built https://github.com/neovim/nvim-lsp to contain easy configuration settings for servers which we hope to be a database that can be referenced for other editors/3rd party users as well. Support will be merged very soon https://github.com/neovim/nvim-lsp/pull/43. Co-authored-by: Ashkan Kiani <[email protected]>
| * | | | | Fix url to point to rust_analyzer specificallyAshkan Kiani2019-11-231-1/+1
| | | | | |
| * | | | | Add note about neovim's built in language serverAshkan Kiani2019-11-231-0/+5
| | | | | |
* | | | | | Merge #2369bors[bot]2019-11-2310-202/+179
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | | | | | | | | | | | | | | | | 2369: Move lang_items to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * / / / Move lang_items to hir_defAleksey Kladov2019-11-2310-202/+179
|/ / / /
* | | | Merge #2368bors[bot]2019-11-233-39/+45
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2368: Use attrs rather than syntax for lang items r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Use attrs rather than syntax for lang itemsAleksey Kladov2019-11-233-39/+45
| | | | |
* | | | | Merge #2366bors[bot]2019-11-2310-123/+202
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2366: Move attrs query to hir_def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | | Move attrs query to hir_defAleksey Kladov2019-11-2310-123/+202
|/ / / /
* | | | Merge #2363bors[bot]2019-11-225-83/+193
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 2363: More principled sources for enums and fields r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | | More principled sources for enums and fieldsAleksey Kladov2019-11-225-83/+193
|/ / /
* | | Merge #2361bors[bot]2019-11-226-22/+17
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 2361: Uniformalize naming r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Uniformalize namingAleksey Kladov2019-11-226-22/+17
|/ /
* | Merge #2355bors[bot]2019-11-223-1/+63
|\ \ | | | | | | | | | | | | | | | | | | | | | 2355: Expand column!() r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
| * | Expand column!()Jeremy Kolb2019-11-223-1/+63
|/ /
* | Merge #2357bors[bot]2019-11-223-1/+45
|\ \ | | | | | | | | | | | | | | | | | | | | | 2357: Expand file! to dummy "" r=edwin0cheng a=kjeremy See https://github.com/rust-analyzer/rust-analyzer/pull/2355#issuecomment-557541873 Co-authored-by: kjeremy <[email protected]>
| * | Expand file! to dummy ""kjeremy2019-11-223-1/+45
| | |