aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Remove unused importskjeremy2019-12-201-1/+1
| | | |
| * | | Remove the index resolution from hoverkjeremy2019-12-201-58/+22
| | | | | | | | | | | | | | | | We are reasonably precise now to do this.
* | | | Coerce closures to fn pointersFlorian Diebold2019-12-203-5/+48
| | | | | | | | | | | | | | | | E.g. `let x: fn(A) -> B = |x| { y };`
* | | | Fix coercion of last expression in function bodyFlorian Diebold2019-12-203-2/+18
| | | |
* | | | Handle closure return typesFlorian Diebold2019-12-208-6/+113
| |/ / |/| | | | | | | | Fixes #2547.
* | | Fix parser for macro call in pattern positionEdwin Cheng2019-12-203-6/+41
|/ /
* | Merge #2614bors[bot]2019-12-202-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_defaultkjeremy2019-12-201-2/+2
| | |
| * | Remove useless clonekjeremy2019-12-201-1/+1
| | |
* | | Merge #2592bors[bot]2019-12-205-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 loopEdwin Cheng2019-12-191-5/+3
| | | |
| * | | Use build_for_defEdwin Cheng2019-12-191-1/+1
| | | |
| * | | Add std::ops::Index support for inferingEdwin Cheng2019-12-195-5/+63
| | | |
* | | | Remove code that never was alive?Aleksey Kladov2019-12-201-9/+2
| |/ / |/| |
* | | Fix resolve for field init shorthandAleksey Kladov2019-12-206-36/+68
| | |
* | | Fix highlighting for field init shorthandAleksey Kladov2019-12-202-5/+4
| | |
* | | Improve highlighting testAleksey Kladov2019-12-203-2/+7
| | |
* | | Reduce copy-paste some moreAleksey Kladov2019-12-202-87/+9
| | |
* | | Use generic ItemLoc for implsAleksey Kladov2019-12-205-28/+10
| | |
* | | Remove more copy-pasteAleksey Kladov2019-12-201-121/+29
| | |
* | | Remove more copy-pasteAleksey Kladov2019-12-201-57/+30
| | |
* | | Support for nested traitsAleksey Kladov2019-12-205-9/+18
| | |
* | | Support for nested statics, consts and type aliasesAleksey Kladov2019-12-203-5/+18
| | |
* | | Support for nested ADTAleksey Kladov2019-12-205-22/+35
| | |
* | | Introduce `ContainerId`Aleksey Kladov2019-12-207-18/+41
| | |
* | | Rename ContainerId -> AssocContainerIdAleksey Kladov2019-12-2011-51/+51
| | |
* | | Rebuild ra_lsp_server and nest helper function.Aleksey Kladov2019-12-201-37/+37
| | | | | | | | | | | | Completion now works again, so there's no need not to nest
* | | Handle nested declrations in from_sourceAleksey Kladov2019-12-201-7/+16
| | |
* | | Add local functions to bodiesAleksey Kladov2019-12-205-21/+75
| | |
* | | Implement ChildBySource for DefWithBodyAleksey Kladov2019-12-191-42/+55
| | |
* | | Add body as a possible container for itemsAleksey Kladov2019-12-195-19/+20
| | |
* | | Allow storing defs in bodiesAleksey Kladov2019-12-192-1/+3
| |/ |/|
* | Drop dead codeAleksey Kladov2019-12-192-60/+4
| |
* | Merge #2598bors[bot]2019-12-194-8/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | 2598: Touch up TokenSet a bit r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * | Touch up TokenSet a bitAleksey Kladov2019-12-194-8/+6
| | |
* | | Merge #2597bors[bot]2019-12-193-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 groupsAleksey Kladov2019-12-193-3/+31
| | |
* | | Merge #2594bors[bot]2019-12-194-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-upsKirill Bulatov2019-12-191-3/+3
| | |
| * | Remove TruncateOptions structKirill Bulatov2019-12-194-32/+24
| | |
| * | Do not add any new configuration parametersKirill Bulatov2019-12-196-49/+12
| | |
| * | Ensure hover shows full type declarationKirill Bulatov2019-12-192-2/+19
| | |
| * | Omit default parameter typesKirill Bulatov2019-12-199-29/+137
| | |
* | | Refactor macro testsAleksey Kladov2019-12-193-397/+283
| | |
* | | Fix parsing of interpolated expressionsAleksey Kladov2019-12-192-0/+19
|/ /
| |
| \
*-. \ Merge #2589 #2591bors[bot]2019-12-187-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 codeAleksey Kladov2019-12-181-5/+0
| |/ /
| * | Touch up docsAleksey Kladov2019-12-181-1/+2
| | |
| * | Forbid <T>::foo syntax in mod pathsAleksey Kladov2019-12-187-20/+27
| | |
| * | Move PathKindUpAleksey Kladov2019-12-181-14/+14
| | |