aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres
Commit message (Collapse)AuthorAgeFilesLines
* push name down to hir_expandAleksey Kladov2019-10-301-1/+2
|
* remove forward pointer for attrsAleksey Kladov2019-10-301-2/+1
|
* remove forward pointer for nameAleksey Kladov2019-10-301-3/+2
|
* move raw_items to hir_defAleksey Kladov2019-10-303-405/+3
|
* Move ids to hir_def crateAleksey Kladov2019-10-301-1/+1
|
* introduce ra_hir_defAleksey Kladov2019-10-301-12/+11
|
* remove not that useful indirectionAleksey Kladov2019-10-291-2/+2
|
* move expansion-related code to a separate crateAleksey Kladov2019-10-291-1/+2
|
* start ra_hir_def crateAleksey Kladov2019-10-291-8/+5
|
* remove relative_path_buf workaroundAleksey Kladov2019-10-271-10/+3
| | | | The upstream problem was fixed with the change to 1.0
* Prepare SourceDatabase API for lazy file loadingAleksey Kladov2019-10-141-1/+1
|
* remove last traces of source roots from hirAleksey Kladov2019-10-112-42/+20
|
* don't special case macro_useAleksey Kladov2019-10-102-23/+12
|
* don't special case path attrAleksey Kladov2019-10-102-27/+15
|
* simplify a bitAleksey Kladov2019-10-102-10/+13
|
* simplify some testsAleksey Kladov2019-10-101-90/+24
|
* Refactor and fix some more edge cases around name resolutionAleksey Kladov2019-10-104-192/+209
|
* macro DSL for cfg in testsAleksey Kladov2019-10-081-8/+5
|
* use slightly more idiomatic api for cfgAleksey Kladov2019-10-081-6/+8
|
* OptimizeuHOOCCOOHu2019-10-022-7/+13
|
* Refactor CfgOptions insideuHOOCCOOHu2019-10-021-3/+3
|
* Support cfg attribute on impl blocksuHOOCCOOHu2019-10-022-7/+2
|
* Enable CfgOptions `test` for workspace cratesuHOOCCOOHu2019-10-021-0/+70
|
* Introduce ra_cfg to parse and evaluate CfgExpruHOOCCOOHu2019-10-022-26/+47
|
* Pass attributes as token tree to DefCollectoruHOOCCOOHu2019-10-022-20/+51
|
* Merge branch 'master' into feature/issue/1856Alexander Andreev2019-09-301-3/+2
|\ | | | | | | | | # Conflicts: # crates/ra_assists/src/ast_editor.rs
| * Fix API of AttruHOOCCOOHu2019-09-301-3/+2
| |
* | Added test for check doc strings in crates.Alexander Andreev2019-09-303-0/+6
|/ | | | #1856
* FixuHOOCCOOHu2019-09-271-1/+1
|
* Support `$crate` in item and expr place.uHOOCCOOHu2019-09-262-15/+131
|
* Store crate info in `MacroDefId`uHOOCCOOHu2019-09-261-1/+4
|
* Remove redundant clone()Shotaro Yamada2019-09-252-5/+2
|
* fix module attr pathgfreezy2019-09-203-2/+40
|
* introduce FromSource traitEkaterina Babshukova2019-09-191-2/+10
|
* 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-132-18/+18
|
* Specify desirable namespace when calling resolveAleksey Kladov2019-09-131-9/+0
| | | | That way, we are able to get rid of a number of unreachable statements
* rename AdtDef -> AdtAleksey Kladov2019-09-121-3/+3
|
* make various enums "inherit" from AdtDefAleksey Kladov2019-09-121-3/+3
|
* add macros with local_inner_macros argumentJasperDeSutter2019-09-122-1/+40
|
* Merge #1796bors[bot]2019-09-111-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1796: Support completion for macros r=matklad a=uHOOCCOOHu This is based on #1795 , and fixes #1727 Also prettify hover text of macros. Some screenshorts below: Completion in item place. <img width="416" alt="Screenshot_20190910_134056" src="https://user-images.githubusercontent.com/14816024/64587159-fa72da00-d3d0-11e9-86bb-c98f169ec08d.png"> After pressing `tab`. <img width="313" alt="Screenshot_20190910_134111" src="https://user-images.githubusercontent.com/14816024/64587160-fa72da00-d3d0-11e9-9464-21e3f6957bd7.png"> Complete macros from `std`. <img width="588" alt="Screenshot_20190910_134147" src="https://user-images.githubusercontent.com/14816024/64587161-fb0b7080-d3d0-11e9-866e-5161f0d1b546.png"> Hover text. <img width="521" alt="Screenshot_20190910_134242" src="https://user-images.githubusercontent.com/14816024/64587162-fb0b7080-d3d0-11e9-8f09-ad17e3f6702a.png"> Co-authored-by: uHOOCCOOHu <[email protected]>
| * Fix typouHOOCCOOHu2019-09-111-1/+1
| |
* | cleanup expansion to item listAleksey Kladov2019-09-101-1/+3
|/
* StripuHOOCCOOHu2019-09-091-9/+3
|
* Make macro scope a real name scopeuHOOCCOOHu2019-09-094-137/+265
| | | | Fix some details about module scoping
* 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
|