aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
Commit message (Collapse)AuthorAgeFilesLines
* FormattingEdwin Cheng2019-12-242-3/+4
|
* Implement infer await from async funcEdwin Cheng2019-12-242-2/+30
|
* Rudimentary name resolution for local itemsAleksey Kladov2019-12-224-43/+102
|
* SimplifyAleksey Kladov2019-12-222-16/+17
|
* RefactorAleksey Kladov2019-12-222-10/+11
|
* Share impl Scope between modules and blocksAleksey Kladov2019-12-223-53/+56
|
* SimplifyAleksey Kladov2019-12-226-57/+40
|
* Remove unused parametersAleksey Kladov2019-12-222-23/+13
|
* Remove import fieldAleksey Kladov2019-12-222-19/+8
|
* Separate defs from importsAleksey Kladov2019-12-222-5/+8
|
* Refactor PerNs constructionAleksey Kladov2019-12-222-49/+52
|
* Minor renameAleksey Kladov2019-12-221-8/+8
|
* More profilingAleksey Kladov2019-12-212-0/+4
|
* Merge #2637bors[bot]2019-12-211-0/+2
|\ | | | | | | | | | | | | | | 2637: Optimize and profile r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Optimize and profileAleksey Kladov2019-12-211-0/+2
| |
* | Move LocalImportIdAleksey Kladov2019-12-214-28/+20
| |
* | Remove import source mapAleksey Kladov2019-12-213-62/+13
| |
* | Remove import from resolutionAleksey Kladov2019-12-212-17/+12
|/
* Remove imports from hirAleksey Kladov2019-12-213-8/+2
|
* Revert "Merge #2629"Aleksey Kladov2019-12-216-46/+126
| | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79.
* 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
| |