aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/nameres/collector.rs
Commit message (Collapse)AuthorAgeFilesLines
* Check that visibility upgrade path is hitJonas Schievink2020-07-221-1/+6
|
* Support `Trait as _` importsJonas Schievink2020-07-211-18/+49
|
* Cleanup limitsAleksey Kladov2020-07-151-7/+7
|
* Check cancellation when updating imports recursivelyAleksey Kladov2020-07-151-0/+1
| | | | | For winapi, this takes a lot of CPU time without doing queries and causes the main event loop to stall on cancellation.
* Micro-optimize updateAleksey Kladov2020-07-151-5/+6
|
* Guard against infinite macro expansionsAleksey Kladov2020-07-141-0/+5
| | | | closes #4463
* Merge #5033bors[bot]2020-06-271-10/+39
|\ | | | | | | | | | | | | | | 5033: Order of glob imports should not affect import shadowing r=Nashenas88 a=Nashenas88 Fixes #5032 Co-authored-by: Paul Daniel Faria <[email protected]>
| * Remove comment that's no longer validPaul Daniel Faria2020-06-261-2/+0
| |
| * Split glob import map to per-ns, switch ExprCollector to use a simpler push_resPaul Daniel Faria2020-06-261-7/+7
| |
| * Track import type outside of , use enum rather than bool to improve readabilityPaul Daniel Faria2020-06-251-14/+22
| |
| * Revert resolution of all glob imports first, replace with tracking of glob ↵Paul Daniel Faria2020-06-251-35/+49
| | | | | | | | imports and shadowing when more specific
| * Order of glob imports should not affect import shadowingPaul Daniel Faria2020-06-251-16/+25
| |
* | Collect field/variant attrs in ItemTreeJonas Schievink2020-06-251-2/+2
|/
* Don't allocate common visibilitiesJonas Schievink2020-06-241-24/+28
|
* draw the rest of the owlJonas Schievink2020-06-241-50/+84
|
* ItemTree: use a newtyped IDJonas Schievink2020-06-241-3/+4
|
* Move collectorJonas Schievink2020-06-241-108/+193
|
* collector changes WIPJonas Schievink2020-06-241-26/+24
|
* New VFSAleksey Kladov2020-06-231-4/+6
|
* Don't panic on crates depending on themselvesFlorian Diebold2020-06-191-1/+1
| | | | Fixes #3883.
* SimplifyAleksey Kladov2020-06-181-1/+4
|
* Don't guess macro expansion crateAleksey Kladov2020-06-111-17/+22
|
* Switch to new magic marksAleksey Kladov2020-05-201-7/+7
|
* Change favor_types to has_constructorEdwin Cheng2020-05-041-3/+3
|
* Favor types for Record in name resolutionEdwin Cheng2020-05-041-3/+10
|
* Support local_inner_macrosEdwin Cheng2020-05-011-0/+2
|
* Avoid cyclic queries in name resolution when processing enumsAleksey Kladov2020-04-111-0/+8
|
* Remove code duplicationAleksey Kladov2020-04-111-5/+1
|
* 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
|