aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres/collector.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove deps on tt_mbeEdwin Cheng2020-03-261-3/+3
|
* Add ProcMacroClientEdwin Cheng2020-03-251-5/+13
|
* Remove collect proc_macro definitionsEdwin Cheng2020-03-251-23/+23
|
* Rename to CustomDeriveEdwin Cheng2020-03-251-1/+1
|
* Add basic custom derive loweringEdwin Cheng2020-03-251-7/+53
|
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-1/+1
|
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-14/+8
| | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate).
* Protect against infinite macro expansion in def collectorFlorian Diebold2020-03-131-9/+39
| | | | | | | | | There was a test for this, but it wasn't actually working because the first recursive expansion failed. (The comma...) Even with this limit, that test (when fixed) still takes some time to pass because of the exponential growth of the expansions, so I disabled it and added a different one without growth.
* Minimize APIAleksey Kladov2020-03-091-1/+1
|
* Use `Index` for CrateGraphAleksey Kladov2020-03-091-3/+3
|
* 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
|