Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make legacy macros private | Aleksey Kladov | 2019-12-20 | 4 | -19/+24 |
| | |||||
* | Privitize impls | Aleksey Kladov | 2019-12-20 | 4 | -6/+12 |
| | |||||
* | Make items private | Aleksey Kladov | 2019-12-20 | 2 | -46/+42 |
| | |||||
* | Move some code to scope | Aleksey Kladov | 2019-12-20 | 2 | -26/+37 |
| | |||||
* | Fix typos | Aleksey Kladov | 2019-12-20 | 1 | -2/+2 |
| | |||||
* | Move impls to ItemScope | Aleksey Kladov | 2019-12-20 | 10 | -13/+16 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-12-20 | 1 | -6/+6 |
| | |||||
* | Rename ModuleScope -> ItemScope | Aleksey Kladov | 2019-12-20 | 2 | -4/+4 |
| | |||||
* | Docs | Aleksey Kladov | 2019-12-20 | 1 | -3/+6 |
| | |||||
* | Move ModuleScope to a new module | Aleksey Kladov | 2019-12-20 | 5 | -108/+114 |
| | |||||
* | Add item_scope module | Aleksey Kladov | 2019-12-20 | 2 | -0/+2 |
| | |||||
* | Merge #2615 | bors[bot] | 2019-12-20 | 3 | -6/+41 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2615: Fix wrong path parsing for macro call in pattern position r=edwin0cheng a=edwin0cheng The parser incorrectly insert a `PathPat` inside `MacroCall` syntax node when parsing inside a pattern position, for example : ```rust let foo!() = 0; ``` become: ``` MACRO_CALL@[60; 66) PATH_PAT@[60; 63) <------------- It should not exist PATH@[60; 63) PATH_SEGMENT@[60; 63) NAME_REF@[60; 63) IDENT@[60; 63) "foo" EXCL@[63; 64) "!" TOKEN_TREE@[64; 66) L_PAREN@[64; 65) "(" R_PAREN@[65; 66) ")" ``` This PR fix this bug and add some test to make sure goto-defintion works for macro inside pattern. Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Fix parser for macro call in pattern position | Edwin Cheng | 2019-12-20 | 3 | -6/+41 |
|/ | |||||
* | Merge #2614 | bors[bot] | 2019-12-20 | 2 | -3/+3 |
|\ | | | | | | | | | | | | | | | 2614: Clippy cleanup r=matklad a=kjeremy Just a few tweaks from the latest clippy. There are a lot more but we should probably tweak our settings. Co-authored-by: kjeremy <[email protected]> | ||||
| * | Use unwrap_or_default | kjeremy | 2019-12-20 | 1 | -2/+2 |
| | | |||||
| * | Remove useless clone | kjeremy | 2019-12-20 | 1 | -1/+1 |
| | | |||||
* | | Merge #2592 | bors[bot] | 2019-12-20 | 5 | -5/+61 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2592: Add std::ops::Index support for infering r=edwin0cheng a=edwin0cheng see also #2534 Seem like this can't fix #2534 for this case: ```rust fn foo3(bar: [usize; 2]) { let baz = bar[1]; // <--- baz is still unknown ? println!("{}", baz); } ``` Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | | Use fill instread of for loop | Edwin Cheng | 2019-12-19 | 1 | -5/+3 |
| | | | |||||
| * | | Use build_for_def | Edwin Cheng | 2019-12-19 | 1 | -1/+1 |
| | | | |||||
| * | | Add std::ops::Index support for infering | Edwin Cheng | 2019-12-19 | 5 | -5/+63 |
| | | | |||||
* | | | Merge #2613 | bors[bot] | 2019-12-20 | 1 | -9/+2 |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | 2613: Remove code that never was alive? r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Remove code that never was alive? | Aleksey Kladov | 2019-12-20 | 1 | -9/+2 |
|/ / | |||||
* | | Merge #2612 | bors[bot] | 2019-12-20 | 6 | -36/+68 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2612: Fix resolve for field init shorthand r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Fix resolve for field init shorthand | Aleksey Kladov | 2019-12-20 | 6 | -36/+68 |
|/ / | |||||
* | | Merge #2611 | bors[bot] | 2019-12-20 | 3 | -6/+10 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2611: Fix highlighting for field init shorthand r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Fix highlighting for field init shorthand | Aleksey Kladov | 2019-12-20 | 2 | -5/+4 |
| | | | |||||
| * | | Improve highlighting test | Aleksey Kladov | 2019-12-20 | 3 | -2/+7 |
|/ / | |||||
* | | Merge #2610 | bors[bot] | 2019-12-20 | 2 | -87/+9 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2610: Reduce copy-paste some more r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Reduce copy-paste some more | Aleksey Kladov | 2019-12-20 | 2 | -87/+9 |
| | | | |||||
* | | | Merge #2609 | bors[bot] | 2019-12-20 | 5 | -198/+61 |
|\| | | | | | | | | | | | | | | | | | | | | | | | 2609: Use generic ItemLoc for impls r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Use generic ItemLoc for impls | Aleksey Kladov | 2019-12-20 | 5 | -28/+10 |
| | | | |||||
| * | | Remove more copy-paste | Aleksey Kladov | 2019-12-20 | 1 | -121/+29 |
| | | | |||||
| * | | Remove more copy-paste | Aleksey Kladov | 2019-12-20 | 1 | -57/+30 |
|/ / | |||||
* | | Merge #2608 | bors[bot] | 2019-12-20 | 13 | -72/+130 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2608: Support for nested traits r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Support for nested traits | Aleksey Kladov | 2019-12-20 | 5 | -9/+18 |
| | | | |||||
| * | | Support for nested statics, consts and type aliases | Aleksey Kladov | 2019-12-20 | 3 | -5/+18 |
| | | | |||||
| * | | Support for nested ADT | Aleksey Kladov | 2019-12-20 | 5 | -22/+35 |
| | | | |||||
| * | | Introduce `ContainerId` | Aleksey Kladov | 2019-12-20 | 7 | -18/+41 |
| | | | |||||
| * | | Rename ContainerId -> AssocContainerId | Aleksey Kladov | 2019-12-20 | 11 | -51/+51 |
| | | | |||||
* | | | Merge #2607 | bors[bot] | 2019-12-20 | 6 | -43/+107 |
|\| | | | | | | | | | | | | | | | | | | | | | | | 2607: More ground work for local defs r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | Rebuild ra_lsp_server and nest helper function. | Aleksey Kladov | 2019-12-20 | 1 | -37/+37 |
| | | | | | | | | | | | | Completion now works again, so there's no need not to nest | ||||
| * | | Handle nested declrations in from_source | Aleksey Kladov | 2019-12-20 | 1 | -7/+16 |
| | | | |||||
| * | | Add local functions to bodies | Aleksey Kladov | 2019-12-20 | 6 | -21/+76 |
|/ / | |||||
* | | Merge #2601 | bors[bot] | 2019-12-19 | 2 | -25/+25 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2601: :arrow_up: deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | :arrow_up: deps | Aleksey Kladov | 2019-12-19 | 1 | -24/+24 |
| | | | |||||
| * | | :arrow_up: Rust | Aleksey Kladov | 2019-12-19 | 1 | -1/+1 |
| | | | |||||
* | | | Merge #2600 | bors[bot] | 2019-12-19 | 8 | -62/+78 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2600: Plumbing for local items support r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | | | Implement ChildBySource for DefWithBody | Aleksey Kladov | 2019-12-19 | 1 | -42/+55 |
| | | | | |||||
| * | | | Add body as a possible container for items | Aleksey Kladov | 2019-12-19 | 5 | -19/+20 |
| | | | | |||||
| * | | | Allow storing defs in bodies | Aleksey Kladov | 2019-12-19 | 2 | -1/+3 |
| | | | |