aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* 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-247-35/+155
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-246-58/+70
| | | |
| * | | fix tidy testbravomikekilo2019-11-211-7/+11
| | | |
| * | | initial invert_ifbravomikekilo2019-11-214-1/+105
| | | |
* | | | 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
| | | |
* | | | 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
| | | |
* | | | Simplify HasSourceAleksey Kladov2019-11-231-21/+18
| | | |
* | | | Hide ImportIdAleksey Kladov2019-11-234-21/+26
| | | |
* | | | Remove unneded supertraitAleksey Kladov2019-11-231-1/+1
| | | |
* | | | Cleanup importsAleksey Kladov2019-11-231-1/+1
| | | |
* | | | Cleanup importsAleksey Kladov2019-11-231-10/+10
| | | |
* | | | 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
| | | |
* | | | Move lang_items to hir_defAleksey Kladov2019-11-2310-202/+179
| | | |
* | | | Use attrs rather than syntax for lang itemsAleksey Kladov2019-11-233-39/+45
| | | |
* | | | Move attrs query to hir_defAleksey Kladov2019-11-2310-123/+202
| | | |
* | | | More principled sources for enums and fieldsAleksey Kladov2019-11-225-83/+193
| |_|/ |/| |
* | | Uniformalize namingAleksey Kladov2019-11-226-22/+17
|/ /
* | 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
| | |
* | | Remove TraitData from APIAleksey Kladov2019-11-222-10/+5
| | |
* | | Hide data from public APIAleksey Kladov2019-11-223-16/+8
| | |
* | | Move const&static date to hir_defAleksey Kladov2019-11-227-72/+58
| | |
* | | Make ImplData's fields publicAleksey Kladov2019-11-224-28/+14
| | |
* | | Move data to a single fileAleksey Kladov2019-11-228-254/+213
| | |
* | | Move FunctionData to hir_defAleksey Kladov2019-11-2214-116/+114
|/ /
* | ReorderAleksey Kladov2019-11-221-37/+37
| |
* | Cleanup errorsAleksey Kladov2019-11-222-21/+29
| |
* | Add support for environment to CrateGraphAleksey Kladov2019-11-227-28/+79
| |
| |
| \
*-. \ Merge #2348 #2352bors[bot]2019-11-228-20/+44
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2348: Add support for stringify! builtin macro r=matklad a=piotr-szpetkowski Refs #2212 First time ever contributing here, hopefully it's ok. 2352: Move TypeAlias to hir_def r=matklad a=matklad Co-authored-by: Piotr Szpetkowski <[email protected]> Co-authored-by: Aleksey Kladov <[email protected]>
| | * | Move TypeAlias to hir_defAleksey Kladov2019-11-226-20/+16
| | | |
| * | | Add support for Stringify builtin macroPiotr Szpetkowski2019-11-222-0/+28
| | | |
* | | | Merge #2347bors[bot]2019-11-221-2/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2347: More correct expand macro r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]>
| * | | | More correct expand macroEdwin Cheng2019-11-221-2/+32
| |/ / /