aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def
Commit message (Collapse)AuthorAgeFilesLines
* Privatize LocalImportIDAleksey Kladov2019-12-213-11/+8
|
* Remove import source mapAleksey Kladov2019-12-213-68/+13
|
* Don't track importsAleksey Kladov2019-12-212-48/+26
|
* Merge #2626bors[bot]2019-12-211-10/+36
|\ | | | | | | | | | | | | | | 2626: Recursive collect macros in impl items r=matklad a=edwin0cheng Co-authored-by: Edwin Cheng <[email protected]>
| * Add a limit for protect against infinite recursionEdwin Cheng2019-12-201-2/+10
| |
| * Recursive collect macros in impl itemsEdwin Cheng2019-12-201-10/+28
| |
* | Merge #2625bors[bot]2019-12-211-2/+2
|\ \ | |/ |/| | | | | | | | | | | 2625: Clippy lints r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Clippy lintskjeremy2019-12-201-2/+2
| |
* | Merge #2624bors[bot]2019-12-2011-174/+206
|\ \ | | | | | | | | | | | | | | | | | | | | | 2624: Separate module item from module scope r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * | Make legacy macros privateAleksey Kladov2019-12-204-19/+24
| | |
| * | Privitize implsAleksey Kladov2019-12-204-6/+12
| | |
| * | Make items privateAleksey Kladov2019-12-202-46/+42
| | |
| * | Move some code to scopeAleksey Kladov2019-12-202-26/+37
| | |
| * | Fix typosAleksey Kladov2019-12-201-2/+2
| | |
| * | Move impls to ItemScopeAleksey Kladov2019-12-206-9/+12
| | |
| * | Reduce visibilityAleksey Kladov2019-12-201-6/+6
| | |
| * | Rename ModuleScope -> ItemScopeAleksey Kladov2019-12-202-4/+4
| | |
| * | DocsAleksey Kladov2019-12-201-3/+6
| | |
| * | Move ModuleScope to a new moduleAleksey Kladov2019-12-205-108/+114
| | |
| * | Add item_scope moduleAleksey Kladov2019-12-202-0/+2
| | |
* | | Merge #2623bors[bot]2019-12-203-48/+94
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2623: Add support macros in impl blocks r=matklad a=edwin0cheng This PR add support for macros in impl blocks, which reuse `Expander` for macro expansion. see also: #2459 Co-authored-by: Edwin Cheng <[email protected]>
| * | | Add support macros in impl blocksEdwin Cheng2019-12-203-48/+94
| |/ /
* | / SimplifyAleksey Kladov2019-12-201-1/+1
| |/ |/|
* | Handle closure return typesFlorian Diebold2019-12-202-1/+3
|/ | | | Fixes #2547.
* Merge #2592bors[bot]2019-12-201-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
| * Add std::ops::Index support for inferingEdwin Cheng2019-12-191-0/+1
| |
* | Remove code that never was alive?Aleksey Kladov2019-12-201-9/+2
| |
* | Fix resolve for field init shorthandAleksey Kladov2019-12-201-0/+5
| |
* | Reduce copy-paste some moreAleksey Kladov2019-12-202-87/+9
| |
* | Use generic ItemLoc for implsAleksey Kladov2019-12-202-24/+6
| |
* | Remove more copy-pasteAleksey Kladov2019-12-201-121/+29
| |
* | Remove more copy-pasteAleksey Kladov2019-12-201-57/+30
| |
* | Support for nested traitsAleksey Kladov2019-12-203-6/+13
| |
* | Support for nested statics, consts and type aliasesAleksey Kladov2019-12-203-5/+18
| |
* | Support for nested ADTAleksey Kladov2019-12-203-14/+27
| |
* | Introduce `ContainerId`Aleksey Kladov2019-12-204-15/+38
| |
* | Rename ContainerId -> AssocContainerIdAleksey Kladov2019-12-205-29/+29
| |
* | Add local functions to bodiesAleksey Kladov2019-12-203-18/+50
| |
* | Implement ChildBySource for DefWithBodyAleksey Kladov2019-12-191-42/+55
| |
* | Add body as a possible container for itemsAleksey Kladov2019-12-192-12/+13
| |
* | Allow storing defs in bodiesAleksey Kladov2019-12-192-1/+3
| |
* | Handle start imports in import groupsAleksey Kladov2019-12-193-3/+31
| |
* | 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-184-14/+21
| |
* | Move PathKindUpAleksey Kladov2019-12-181-14/+14
| |
* | Touch up docsAleksey Kladov2019-12-181-3/+4
|/
* Drop dead codeAleksey Kladov2019-12-171-11/+0
|
* Refactor PathKindAleksey Kladov2019-12-175-15/+26
|
* Use different types for path with and without genericsAleksey Kladov2019-12-1410-267/+385
|