Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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 | |
| | | | | ||||||
* | | | | Remove code that never was alive? | Aleksey Kladov | 2019-12-20 | 1 | -9/+2 | |
| |/ / |/| | | ||||||
* | | | Fix resolve for field init shorthand | Aleksey Kladov | 2019-12-20 | 6 | -36/+68 | |
| | | | ||||||
* | | | 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 | |
| | | | ||||||
* | | | Reduce copy-paste some more | Aleksey Kladov | 2019-12-20 | 2 | -87/+9 | |
| | | | ||||||
* | | | 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 | |
| | | | ||||||
* | | | 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 | |
| | | | ||||||
* | | | 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 | 5 | -21/+75 | |
| | | | ||||||
* | | | 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 | |
| |/ |/| | ||||||
* | | Drop dead code | Aleksey Kladov | 2019-12-19 | 2 | -60/+4 | |
| | | ||||||
* | | Merge #2598 | bors[bot] | 2019-12-19 | 4 | -8/+6 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 2598: Touch up TokenSet a bit r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Touch up TokenSet a bit | Aleksey Kladov | 2019-12-19 | 4 | -8/+6 | |
| | | | ||||||
* | | | Merge #2597 | bors[bot] | 2019-12-19 | 3 | -3/+31 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 2597: Handle start imports in import groups r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Handle start imports in import groups | Aleksey Kladov | 2019-12-19 | 3 | -3/+31 | |
| | | | ||||||
* | | | Merge #2594 | bors[bot] | 2019-12-19 | 4 | -5/+85 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 2594: Omit default parameter types r=matklad a=SomeoneToIgnore Part of https://github.com/rust-analyzer/rust-analyzer/issues/1946 Co-authored-by: Kirill Bulatov <[email protected]> | |||||
| * | | Omit default types for hover pop-ups | Kirill Bulatov | 2019-12-19 | 1 | -3/+3 | |
| | | | ||||||
| * | | Remove TruncateOptions struct | Kirill Bulatov | 2019-12-19 | 4 | -32/+24 | |
| | | | ||||||
| * | | Do not add any new configuration parameters | Kirill Bulatov | 2019-12-19 | 6 | -49/+12 | |
| | | | ||||||
| * | | Ensure hover shows full type declaration | Kirill Bulatov | 2019-12-19 | 2 | -2/+19 | |
| | | | ||||||
| * | | Omit default parameter types | Kirill Bulatov | 2019-12-19 | 9 | -29/+137 | |
| | | | ||||||
* | | | Refactor macro tests | Aleksey Kladov | 2019-12-19 | 3 | -397/+283 | |
| | | | ||||||
* | | | Fix parsing of interpolated expressions | Aleksey Kladov | 2019-12-19 | 2 | -0/+19 | |
|/ / | ||||||
| | | ||||||
| \ | ||||||
*-. \ | Merge #2589 #2591 | bors[bot] | 2019-12-18 | 7 | -36/+40 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2589: Touch up docs r=matklad a=matklad 2591: Remove dead code r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| | * | | Remove dead code | Aleksey Kladov | 2019-12-18 | 1 | -5/+0 | |
| |/ / | ||||||
| * | | Touch up docs | Aleksey Kladov | 2019-12-18 | 1 | -1/+2 | |
| | | | ||||||
| * | | Forbid <T>::foo syntax in mod paths | Aleksey Kladov | 2019-12-18 | 7 | -20/+27 | |
| | | | ||||||
| * | | Move PathKindUp | Aleksey Kladov | 2019-12-18 | 1 | -14/+14 | |
| | | | ||||||
| * | | Touch up docs | Aleksey Kladov | 2019-12-18 | 1 | -3/+4 | |
| | | | ||||||
* | | | Merge #2311 | bors[bot] | 2019-12-18 | 1 | -10/+33 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2311: See through Macros for SignatureHelp r=matklad a=kjeremy Note: we meed to skip the trivia filter to make sure that `covers!(call_info_bad_offset)` succeeds otherwise we exit call_info too early. Also the test doesn't pass: `FnCallNode::with_node` always detects a MacroCall which is obviously wrong. Fixes #2310 Co-authored-by: kjeremy <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | | cargo fmt | Jeremy Kolb | 2019-12-18 | 1 | -1/+3 | |
| | | | ||||||
| * | | Pass test | Jeremy Kolb | 2019-12-18 | 1 | -1/+1 | |
| | | | ||||||
| * | | WIP: See through Macros for SignatureHelp | kjeremy | 2019-12-18 | 1 | -9/+30 | |
| |/ | | | | | | | | | | | | | | | | | Note: we meed to skip the trivia filter to make sure that `covers!(call_info_bad_offset)` succeeds otherwise we exit call_info too early. Also the test doesn't pass: `FnCallNode::with_node` always detects a MacroCall. |