aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres/collector.rs
Commit message (Collapse)AuthorAgeFilesLines
* Less abstract CrateData apiKirill Bulatov2020-03-091-4/+3
|
* Introduce AsMacroCall traitEdwin Cheng2020-02-171-37/+40
|
* Bump crate resolution limit for large projectsBenjamin Brittain2020-02-141-1/+1
| | | | Change-Id: Ie0221e5bcfd1779cd5e241f96b4489e5bd3854c1
* include requested changeszombiefungus2020-02-021-3/+4
|
* add new ImportAlias enum to differentiate no alias from an _ aliaszombiefungus2020-02-021-1/+4
|
* Fix various names, e.g. Iterator not resolving in core preludeFlorian Diebold2020-01-111-1/+1
| | | | | | | | | | | | | Basically, `Iterator` is re-exported via several steps, which happened to not be resolved yet when we got to the prelude import, but since the name resolved to the reexport from `core::iter` (just to no actual items), we gave up trying to resolve it further. Maybe part of the problem is that we can have `PartialResolvedImport::Unresolved` or `PartialResolvedImport::Indeterminate` with `None` in all namespaces, and handle them differently. Fixes #2683.
* Remove a duplicate line in `collect_defs`Michal Terepeta2020-01-031-1/+0
| | | | Signed-off-by: Michal Terepeta <[email protected]>
* visible_from -> is_visible_fromFlorian Diebold2019-12-271-3/+3
|
* Fix cross-crate glob privacy handlingFlorian Diebold2019-12-261-6/+1
|
* Rename ResolvedVisibility -> VisibilityFlorian Diebold2019-12-261-14/+9
|
* Rename Visibility -> RawVisibilityFlorian Diebold2019-12-261-1/+1
|
* Handle privacy for modulesFlorian Diebold2019-12-261-6/+20
|
* Take visibility into account for glob importsFlorian Diebold2019-12-261-24/+56
|
* Keep track of visibility during def collectionFlorian Diebold2019-12-261-7/+26
|
* Rudimentary name resolution for local itemsAleksey Kladov2019-12-221-1/+1
|
* SimplifyAleksey Kladov2019-12-221-12/+7
|
* Remove unused parametersAleksey Kladov2019-12-221-22/+12
|
* Remove import fieldAleksey Kladov2019-12-221-8/+6
|
* Separate defs from importsAleksey Kladov2019-12-221-0/+2
|
* Refactor PerNs constructionAleksey Kladov2019-12-221-48/+33
|
* Move LocalImportIdAleksey Kladov2019-12-211-7/+6
|
* Remove import from resolutionAleksey Kladov2019-12-211-5/+5
|
* Revert "Merge #2629"Aleksey Kladov2019-12-211-19/+27
| | | | | This reverts commit cdc9d682b066b110e0a44e5f8f1c574b38c16ba9, reversing changes made to 90ef070db3dce0a7acb9cd11d0b0d72de13c9d79.
* Privatize LocalImportIDAleksey Kladov2019-12-211-4/+3
|
* Don't track importsAleksey Kladov2019-12-211-23/+16
|
* Merge #2625bors[bot]2019-12-211-2/+2
|\ | | | | | | | | | | | | | | 2625: Clippy lints r=matklad a=kjeremy Co-authored-by: kjeremy <[email protected]>
| * Clippy lintskjeremy2019-12-201-2/+2
| |
* | Make legacy macros privateAleksey Kladov2019-12-201-4/+6
| |
* | Privitize implsAleksey Kladov2019-12-201-1/+3
| |
* | Make items privateAleksey Kladov2019-12-201-10/+2
| |
* | Move some code to scopeAleksey Kladov2019-12-201-26/+2
| |
* | Fix typosAleksey Kladov2019-12-201-2/+2
| |
* | Move impls to ItemScopeAleksey Kladov2019-12-201-1/+1
| |
* | Move ModuleScope to a new moduleAleksey Kladov2019-12-201-1/+2
|/
* Use generic ItemLoc for implsAleksey Kladov2019-12-201-1/+2
|
* Support for nested traitsAleksey Kladov2019-12-201-1/+1
|
* Support for nested statics, consts and type aliasesAleksey Kladov2019-12-201-1/+1
|
* Support for nested ADTAleksey Kladov2019-12-201-3/+3
|
* Introduce `ContainerId`Aleksey Kladov2019-12-201-4/+5
|
* Rename ContainerId -> AssocContainerIdAleksey Kladov2019-12-201-4/+4
|
* Refactor PathKindAleksey Kladov2019-12-171-1/+1
|
* Use different types for path with and without genericsAleksey Kladov2019-12-141-7/+7
|
* Rename N! to name!Florian Diebold2019-12-131-2/+2
|
* Add macros for known names and pathsFlorian Diebold2019-12-131-2/+2
|
* Move enum&union to new locAleksey Kladov2019-12-121-8/+11
|
* Move structs to new locAleksey Kladov2019-12-121-3/+4
|
* Move traits to the new locAleksey Kladov2019-12-121-2/+7
|
* Switch to the new location for implsAleksey Kladov2019-12-121-4/+6
|
* Delay legacy macro expansionEdwin Cheng2019-12-081-149/+57
|
* Merge #2466bors[bot]2019-12-081-40/+124
|\ | | | | | | | | | | | | | | | | | | | | 2466: Handle partial resolve cases r=matklad a=edwin0cheng Another try to fix #2443 : We resolve all imports every time in `DefCollector::collect` loop even it is resolved previously. This is because other unresolved imports and macros will bring in another `PerNs`, so we can only assume that it has been partially resolved. Co-authored-by: Edwin Cheng <[email protected]>