aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/nameres.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make macro scope a real name scopeuHOOCCOOHu2019-09-091-93/+65
| | | | Fix some details about module scoping
* Rename `textual_macro` -> `legacy_macro`uHOOCCOOHu2019-09-081-7/+20
| | | | Add comments
* Revert "Replace with immutable map to avoid heavy cloning"uHOOCCOOHu2019-09-081-5/+2
| | | | | | 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-2/+5
|
* Resolve textual scoped macros inside itemuHOOCCOOHu2019-09-081-1/+6
|
* Support textual scoped macrosuHOOCCOOHu2019-09-081-0/+5
|
* cleanup hir db importsAleksey Kladov2019-09-081-4/+8
|
* minorAleksey Kladov2019-09-061-48/+48
|
* move mod resolution to a separate fileAleksey Kladov2019-09-051-0/+1
|
* Fix import strategy of `macro_use` and its testuHOOCCOOHu2019-09-021-0/+3
|
* cargo formatMuhammad Mominul Huque2019-07-071-2/+2
|
* Constify KnownName'sMuhammad Mominul Huque2019-07-071-3/+3
|
* Moved module resolution test in mods.rsAlexander Andreev2019-07-071-1/+1
|
* Added extract path attribute for current moduleAlexander Andreev2019-07-061-1/+1
| | | | #1211
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-18/+14
| | | | | | 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-1/+3
|
* check for cancellation when executing queriesAleksey Kladov2019-06-121-1/+0
| | | | | | | Note that we can't just remove CheckCanceled trait altogether: sometimes it's useful to check for cancellation while the query is running! We do this, for example, in the name resolution fixed-point loop.
* use single version of either in hirAleksey Kladov2019-06-101-30/+28
|
* remove some hacks from nameresolution for macrosAleksey Kladov2019-06-081-27/+2
|
* add a fixmeAleksey Kladov2019-06-081-0/+2
|
* Fix clippy::iter_cloned_collectAlan Du2019-06-041-4/+2
|
* Fix clippy::option_map_or_noneAlan Du2019-06-041-1/+1
|
* Fix clippy::or_fun_callAlan Du2019-06-041-6/+11
|
* Fix clippy::identity_conversionAlan Du2019-06-041-1/+1
|
* add AstDatabaseAleksey Kladov2019-06-021-5/+8
|
* Improve goto definition for MBEEdwin Cheng2019-06-011-2/+16
|
* add built-in types to scopesAleksey Kladov2019-05-301-4/+15
|
* add list of builtin typesAleksey Kladov2019-05-301-1/+1
|
* add cacellation checks to expensive queriesAleksey Kladov2019-05-291-0/+1
|
* Use ItemOrMacro in item resolutionEdwin Cheng2019-05-261-34/+81
|
* simplifyAleksey Kladov2019-05-121-2/+2
|
* Added macro resolution and expansionLenard Pratt2019-04-221-0/+6
|
* Add mbe expand limit and poision macro setEdwin Cheng2019-04-221-1/+15
|
* Initial support for lang items.Marco Groppo2019-04-191-0/+4
|
* use either for usesAleksey Kladov2019-04-101-1/+1
|
* Merge #1068bors[bot]2019-04-031-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | 1068: profiling crate first draft r=matklad a=pasa I've made this first draft for #961 Could you look at it? Is this something what you are looking for? It has lack of tests. I can't figure out how to test stderr output in rust right now. Do you have some clues? Additionally I'm thinking about to implement procedural macros to annotate methods with this profiler. Will it be helpful? Co-authored-by: Sergey Parilin <[email protected]>
| * Merge remote-tracking branch 'upstream/master' into issue961_profilingSergey Parilin2019-04-021-48/+67
| |\
| * | PR issuse resolvedSergey Parilin2019-04-021-2/+2
| | |
* | | always produce source for importAleksey Kladov2019-04-021-2/+5
| |/ |/|
* | add typed idsAleksey Kladov2019-03-261-10/+10
| |
* | remove some dead codeAleksey Kladov2019-03-261-17/+1
| |
* | simplifyAleksey Kladov2019-03-261-4/+2
| |
* | move source_id to a separate fileAleksey Kladov2019-03-261-1/+2
| |
* | store macro def inside macro idAleksey Kladov2019-03-261-9/+2
| | | | | | | | | | | | | | | | 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!
* | Basics for trait method resolutionFlorian Diebold2019-03-251-1/+7
| |
* | fixesAleksey Kladov2019-03-251-1/+1
| |
* | check impls as wellAleksey Kladov2019-03-251-1/+1
| |
* | cleanupAleksey Kladov2019-03-251-25/+41
| |
* | switch modules to new diagnosticsAleksey Kladov2019-03-251-22/+43
|/
* rename persistent hir database -> def databaseAleksey Kladov2019-03-231-9/+6
|