aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge #1771bors[bot]2019-09-051-3/+60
|\ | | | | | | | | | | | | | | | | | | | | 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-051-3/+3
| |
| * Consider prelude to be `macro_use`uHOOCCOOHu2019-09-051-0/+57
| |
* | rename test file to match impl fileAleksey Kladov2019-09-051-0/+0
|/
* Fix typouHOOCCOOHu2019-09-051-2/+2
|
* Let `macro_use` bypass module scopeuHOOCCOOHu2019-09-051-15/+14
|
* Fix import strategy of `macro_use` and its testuHOOCCOOHu2019-09-021-0/+10
|
* Add testuHOOCCOOHu2019-08-311-5/+50
|
* :arrow_up: instaAleksey Kladov2019-08-294-37/+37
|
* Resolve out of line modules inside inline module with attribute pathAlexander Andreev2019-08-031-13/+1
| | | | | Fixed #1510 Fixed #1529
* Added resolve modules inside inline moduleAlexander Andreev2019-07-291-15/+38
| | | | #1510
* Fixed request commentsAlexander Andreev2019-07-141-59/+59
|
* More resolution modules with attribute pathAlexander Andreev2019-07-131-0/+505
| | | | #1211
* Moved module resolution test in mods.rsAlexander Andreev2019-07-071-0/+192
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-081-4/+9
|
* add tests for primitive typesAleksey Kladov2019-05-301-0/+24
|
* add built-in types to scopesAleksey Kladov2019-05-301-2/+2
|
* Add Test for new item resolutionEdwin Cheng2019-05-261-0/+40
|
* sort hash maps for testsAleksey Kladov2019-05-212-65/+65
|
* more realistic test for incrementalityAleksey Kladov2019-03-261-5/+22
|
* store macro def inside macro idAleksey Kladov2019-03-261-15/+8
| | | | | | | | This solves the problem of "macro expansion can't call into name resolution, because name resolution calls back into macro expansion" Because we store macro def as a part of call id, macro expansion just knows the def!
* Reorganize name resolutionAleksey Kladov2019-03-173-0/+335