aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres
Commit message (Collapse)AuthorAgeFilesLines
* Fix testuHOOCCOOHu2019-09-081-3/+0
|
* Rename `textual_macro` -> `legacy_macro`uHOOCCOOHu2019-09-082-21/+18
| | | | Add comments
* Revert "Replace with immutable map to avoid heavy cloning"uHOOCCOOHu2019-09-081-3/+0
| | | | | | This reverts commit 2c494eb803c88ef5d23607c3b156fce60c2b8076. See: https://github.com/rust-analyzer/rust-analyzer/pull/1784#issuecomment-529119924
* Replace with immutable map to avoid heavy cloninguHOOCCOOHu2019-09-081-0/+3
|
* Resolve textual scoped macros inside itemuHOOCCOOHu2019-09-082-8/+24
|
* Support textual scoped macrosuHOOCCOOHu2019-09-083-34/+153
|
* cleanup hir db importsAleksey Kladov2019-09-083-6/+7
|
* don't cycle when processing macros from prelude in preludeAleksey Kladov2019-09-072-2/+33
|
* Merge #1779bors[bot]2019-09-061-1/+3
|\ | | | | | | | | | | | | | | 1779: minor r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * minorAleksey Kladov2019-09-061-1/+3
| |
* | make source_root API more abstractAleksey Kladov2019-09-061-6/+8
|/
* Merge #1771bors[bot]2019-09-052-18/+90
|\ | | | | | | | | | | | | | | | | | | | | 1771: Further tweak for macro_use on extern crate r=matklad a=uHOOCCOOHu Some more tweaks to #1743 to behave more like `rustc` 1. Hoist macros from `#[macro_use] extern crate`, so that they can be used before `extern crate`. 2. Implicit `#[macro_use]` for `prelude` if exists Co-authored-by: uHOOCCOOHu <[email protected]>
| * Hoist macros from extern crate with macro_useuHOOCCOOHu2019-09-052-14/+20
| |
| * Consider prelude to be `macro_use`uHOOCCOOHu2019-09-052-4/+70
| |
* | rename test file to match impl fileAleksey Kladov2019-09-052-1/+1
| |
* | move mod resolution to a separate fileAleksey Kladov2019-09-052-183/+189
|/
* Fix typouHOOCCOOHu2019-09-051-2/+2
|
* Let `macro_use` bypass module scopeuHOOCCOOHu2019-09-052-35/+52
|
* Fix import strategy of `macro_use` and its testuHOOCCOOHu2019-09-022-9/+22
|
* Add testuHOOCCOOHu2019-08-311-5/+50
|
* Support resolution of `#[macro_use] extern crate`uHOOCCOOHu2019-08-312-2/+28
|
* :arrow_up: instaAleksey Kladov2019-08-295-53/+53
|
* remove ast::*Kind from hirAleksey Kladov2019-08-191-12/+12
|
* Resolve out of line modules inside inline module with attribute pathAlexander Andreev2019-08-033-28/+70
| | | | | Fixed #1510 Fixed #1529
* Fixed request changes.Alexander Andreev2019-07-291-9/+19
|
* Added resolve modules inside inline moduleAlexander Andreev2019-07-292-54/+147
| | | | #1510
* migrate ra_hir to the new rowanAleksey Kladov2019-07-191-26/+26
|
* Fixed request commentsAlexander Andreev2019-07-142-66/+72
|
* Fixed commentsAlexander Andreev2019-07-131-2/+2
|
* More resolution modules with attribute pathAlexander Andreev2019-07-132-4/+521
| | | | #1211
* cargo formatMuhammad Mominul Huque2019-07-071-2/+2
|
* Constify KnownName'sMuhammad Mominul Huque2019-07-071-2/+3
|
* Moved module resolution test in mods.rsAlexander Andreev2019-07-072-191/+193
|
* Added support attribute path in resolusion module fnAlexander Andreev2019-07-062-5/+119
|
* Added extract path attribute for current moduleAlexander Andreev2019-07-062-5/+21
| | | | #1211
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-9/+5
|
* Merge #1486bors[bot]2019-07-043-23/+23
|\ | | | | | | | | | | | | | | 1486: allow rustfmt to reorder imports r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * allow rustfmt to reorder importsAleksey Kladov2019-07-043-23/+23
| | | | | | | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* | Fixed request changesAlexander Andreev2019-07-031-2/+1
| |
* | Move resolve raw name in name.rsAlexander Andreev2019-07-032-9/+27
| | | | | | | | Added test for check module resolution with raw name
* | Added resolve submodules with raw nameAlexander Andreev2019-07-031-0/+9
|/ | | | #1211
* make sure that CrateDefMap is independent from syntaxAleksey Kladov2019-06-261-10/+7
|
* use single version of either in hirAleksey Kladov2019-06-102-34/+25
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-082-14/+37
|
* Fix clippy::identity_conversionAlan Du2019-06-042-2/+2
|
* add AstDatabaseAleksey Kladov2019-06-022-9/+15
|
* add tests for primitive typesAleksey Kladov2019-05-302-0/+25
|
* add built-in types to scopesAleksey Kladov2019-05-301-2/+2
|
* add cacellation checks to expensive queriesAleksey Kladov2019-05-291-0/+1
|
* Add Test for new item resolutionEdwin Cheng2019-05-262-2/+55
|