aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres/collector.rs
Commit message (Collapse)AuthorAgeFilesLines
* rename AdtDef -> AdtAleksey Kladov2019-09-121-3/+3
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-121-3/+3
|
* Make macro scope a real name scopeuHOOCCOOHu2019-09-091-83/+95
| | | | Fix some details about module scoping
* Rename `textual_macro` -> `legacy_macro`uHOOCCOOHu2019-09-081-20/+17
| | | | 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-081-7/+9
|
* Support textual scoped macrosuHOOCCOOHu2019-09-081-32/+52
|
* cleanup hir db importsAleksey Kladov2019-09-081-3/+4
|
* don't cycle when processing macros from prelude in preludeAleksey Kladov2019-09-071-2/+4
|
* Merge #1771bors[bot]2019-09-051-15/+30
|\ | | | | | | | | | | | | | | | | | | | | 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-11/+17
| |
| * Consider prelude to be `macro_use`uHOOCCOOHu2019-09-051-4/+13
| |
* | move mod resolution to a separate fileAleksey Kladov2019-09-051-183/+7
|/
* Let `macro_use` bypass module scopeuHOOCCOOHu2019-09-051-20/+38
|
* Fix import strategy of `macro_use` and its testuHOOCCOOHu2019-09-021-9/+12
|
* Support resolution of `#[macro_use] extern crate`uHOOCCOOHu2019-08-311-0/+17
|
* Resolve out of line modules inside inline module with attribute pathAlexander Andreev2019-08-031-12/+55
| | | | | Fixed #1510 Fixed #1529
* Fixed request changes.Alexander Andreev2019-07-291-9/+19
|
* Added resolve modules inside inline moduleAlexander Andreev2019-07-291-39/+109
| | | | #1510
* Fixed request commentsAlexander Andreev2019-07-141-7/+13
|
* Fixed commentsAlexander Andreev2019-07-131-2/+2
|
* More resolution modules with attribute pathAlexander Andreev2019-07-131-4/+16
| | | | #1211
* cargo formatMuhammad Mominul Huque2019-07-071-2/+2
|
* Constify KnownName'sMuhammad Mominul Huque2019-07-071-2/+3
|
* Added support attribute path in resolusion module fnAlexander Andreev2019-07-061-5/+24
|
* Added extract path attribute for current moduleAlexander Andreev2019-07-061-2/+2
| | | | #1211
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-9/+5
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-14/+11
| | | | | | 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
* make sure that CrateDefMap is independent from syntaxAleksey Kladov2019-06-261-10/+7
|
* use single version of either in hirAleksey Kladov2019-06-101-26/+20
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-081-10/+28
|
* Fix clippy::identity_conversionAlan Du2019-06-041-1/+1
|
* add AstDatabaseAleksey Kladov2019-06-021-6/+9
|
* add cacellation checks to expensive queriesAleksey Kladov2019-05-291-0/+1
|
* Use ItemOrMacro in item resolutionEdwin Cheng2019-05-261-58/+126
|
* Put back unexpaned_macros after resolveEdwin Cheng2019-05-261-0/+3
|
* add union to code_modelAleksey Kladov2019-05-231-1/+5
|
* store macro kind in HirFileIdAleksey Kladov2019-05-141-2/+2
|
* Sidestep two-phase borrow violation signaled by ↵Felix S. Klock II2019-04-291-2/+3
| | | | | | mutable_borrow_reservation_conflict. See rust-lang/rust#59159 for further information/discussion.
* Introduced resolve_macro_call on resolverLenard Pratt2019-04-231-1/+2
| | | | | | changed to manual expansion fix for nested macros
* Added macro resolution and expansionLenard Pratt2019-04-221-3/+5
|
* Change macro stack monitor test to func ptr basedEdwin Cheng2019-04-221-40/+25
|
* Add mbe expand limit and poision macro setEdwin Cheng2019-04-221-14/+172
|
* Fix bugsEdwin Cheng2019-04-201-4/+17
|
* more type safetyAleksey Kladov2019-03-261-11/+12
|
* strongy-typed ids for macrosAleksey Kladov2019-03-261-16/+8
|
* add typed idsAleksey Kladov2019-03-261-12/+10
|
* move source_id to a separate fileAleksey Kladov2019-03-261-2/+2
|
* store macro def inside macro idAleksey Kladov2019-03-261-62/+31
| | | | | | | | 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!