Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Cleanup imports | Aleksey Kladov | 2019-11-24 | 8 | -27/+20 | |
| | | ||||||
* | | Push poison_macros down | Aleksey Kladov | 2019-11-24 | 2 | -25/+28 | |
| | | ||||||
* | | Reduce visbility | Aleksey Kladov | 2019-11-24 | 1 | -10/+10 | |
|/ | ||||||
* | Merge #2378 | bors[bot] | 2019-11-24 | 1 | -3/+6 | |
|\ | | | | | | | | | | | | | | | 2378: Fix panic in batch analysis r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Fix panic in batch analysis | Aleksey Kladov | 2019-11-24 | 1 | -3/+6 | |
| | | | | | | | | Closes #2272 | |||||
* | | Merge #2365 | bors[bot] | 2019-11-24 | 1 | -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_macro | Edwin Cheng | 2019-11-23 | 1 | -9/+31 | |
| | | | ||||||
* | | | Merge #2343 | bors[bot] | 2019-11-24 | 7 | -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 issue | bravomikekilo | 2019-11-24 | 6 | -58/+70 | |
| | | | | ||||||
| * | | | fix tidy test | bravomikekilo | 2019-11-21 | 1 | -7/+11 | |
| | | | | ||||||
| * | | | initial invert_if | bravomikekilo | 2019-11-21 | 4 | -1/+105 | |
| | | | | ||||||
* | | | | Merge #2360 | bors[bot] | 2019-11-24 | 4 | -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 things | Edwin Cheng | 2019-11-23 | 1 | -48/+31 | |
| | | | | ||||||
| * | | | Rename BuiltinExpander to BuiltinFnLikeExpander | Edwin Cheng | 2019-11-23 | 3 | -14/+14 | |
| | | | | ||||||
| * | | | Refactor builtin macro | Edwin Cheng | 2019-11-22 | 1 | -18/+124 | |
| | | | | ||||||
| * | | | Add TestDB | Edwin Cheng | 2019-11-22 | 2 | -0/+53 | |
| | | | | ||||||
* | | | | Move ModuleSource back to hir | Aleksey Kladov | 2019-11-23 | 4 | -78/+71 | |
| | | | | ||||||
* | | | | Privatise nameres | Aleksey Kladov | 2019-11-23 | 7 | -10/+12 | |
| | | | | ||||||
* | | | | Rename CrateModuleId | Aleksey Kladov | 2019-11-23 | 8 | -54/+54 | |
| | | | | ||||||
* | | | | Move ImportId | Aleksey Kladov | 2019-11-23 | 5 | -28/+26 | |
| | | | | ||||||
* | | | | Simplify HasSource | Aleksey Kladov | 2019-11-23 | 1 | -21/+18 | |
| | | | | ||||||
* | | | | Hide ImportId | Aleksey Kladov | 2019-11-23 | 4 | -21/+26 | |
| | | | | ||||||
* | | | | Remove unneded supertrait | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Cleanup imports | Aleksey Kladov | 2019-11-23 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Cleanup imports | Aleksey Kladov | 2019-11-23 | 1 | -10/+10 | |
| | | | | ||||||
* | | | | Note that debugging infra is broken | Aleksey Kladov | 2019-11-23 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 23 | -135/+123 | |
| | | | | ||||||
* | | | | Move docs to hir_def | Aleksey Kladov | 2019-11-23 | 11 | -134/+118 | |
| | | | | ||||||
* | | | | Move lang_items to hir_def | Aleksey Kladov | 2019-11-23 | 10 | -202/+179 | |
| | | | | ||||||
* | | | | Use attrs rather than syntax for lang items | Aleksey Kladov | 2019-11-23 | 3 | -39/+45 | |
| | | | | ||||||
* | | | | Move attrs query to hir_def | Aleksey Kladov | 2019-11-23 | 10 | -123/+202 | |
| | | | | ||||||
* | | | | More principled sources for enums and fields | Aleksey Kladov | 2019-11-22 | 5 | -83/+193 | |
| |_|/ |/| | | ||||||
* | | | Uniformalize naming | Aleksey Kladov | 2019-11-22 | 6 | -22/+17 | |
|/ / | ||||||
* | | Expand column!() | Jeremy Kolb | 2019-11-22 | 3 | -1/+63 | |
| | | ||||||
* | | Merge #2357 | bors[bot] | 2019-11-22 | 3 | -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 "" | kjeremy | 2019-11-22 | 3 | -1/+45 | |
| | | | ||||||
* | | | Remove TraitData from API | Aleksey Kladov | 2019-11-22 | 2 | -10/+5 | |
| | | | ||||||
* | | | Hide data from public API | Aleksey Kladov | 2019-11-22 | 3 | -16/+8 | |
| | | | ||||||
* | | | Move const&static date to hir_def | Aleksey Kladov | 2019-11-22 | 7 | -72/+58 | |
| | | | ||||||
* | | | Make ImplData's fields public | Aleksey Kladov | 2019-11-22 | 4 | -28/+14 | |
| | | | ||||||
* | | | Move data to a single file | Aleksey Kladov | 2019-11-22 | 8 | -254/+213 | |
| | | | ||||||
* | | | Move FunctionData to hir_def | Aleksey Kladov | 2019-11-22 | 14 | -116/+114 | |
|/ / | ||||||
* | | Reorder | Aleksey Kladov | 2019-11-22 | 1 | -37/+37 | |
| | | ||||||
* | | Cleanup errors | Aleksey Kladov | 2019-11-22 | 2 | -21/+29 | |
| | | ||||||
* | | Add support for environment to CrateGraph | Aleksey Kladov | 2019-11-22 | 7 | -28/+79 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #2348 #2352 | bors[bot] | 2019-11-22 | 8 | -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_def | Aleksey Kladov | 2019-11-22 | 6 | -20/+16 | |
| | | | | ||||||
| * | | | Add support for Stringify builtin macro | Piotr Szpetkowski | 2019-11-22 | 2 | -0/+28 | |
| | | | | ||||||
* | | | | Merge #2347 | bors[bot] | 2019-11-22 | 1 | -2/+32 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2347: More correct expand macro r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | | | More correct expand macro | Edwin Cheng | 2019-11-22 | 1 | -2/+32 | |
| |/ / / |