aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres/collector.rs
Commit message (Collapse)AuthorAgeFilesLines
* remove last traces of source roots from hirAleksey Kladov2019-10-111-1/+1
|
* don't special case macro_useAleksey Kladov2019-10-101-4/+9
|
* don't special case path attrAleksey Kladov2019-10-101-7/+14
|
* simplify a bitAleksey Kladov2019-10-101-8/+5
|
* Refactor and fix some more edge cases around name resolutionAleksey Kladov2019-10-101-22/+18
|
* OptimizeuHOOCCOOHu2019-10-021-3/+6
|
* Support cfg attribute on impl blocksuHOOCCOOHu2019-10-021-4/+1
|
* Introduce ra_cfg to parse and evaluate CfgExpruHOOCCOOHu2019-10-021-16/+36
|
* Pass attributes as token tree to DefCollectoruHOOCCOOHu2019-10-021-10/+9
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* Store crate info in `MacroDefId`uHOOCCOOHu2019-09-261-1/+4
|
* Remove redundant clone()Shotaro Yamada2019-09-251-1/+1
|
* fix module attr pathgfreezy2019-09-201-1/+7
|
* remove confusing codeAleksey Kladov2019-09-171-31/+1
| | | | | | I must confess I don't really understand what this code is trying to do, but it definitely misreports changes during fixedpoint iteration, and no tests fail if I remove it, so...
* make PerNs non-genericAleksey Kladov2019-09-131-3/+3
|
* 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
|