aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/visibility.rs
Commit message (Collapse)AuthorAgeFilesLines
* Provide more complete AST accessors to support usage in rustcLuca Barbieri2020-04-091-0/+4
|
* Use `dyn Trait` for working with databseAleksey Kladov2020-03-161-6/+6
| | | | | | | 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).
* Fix completion of trait itemsFlorian Diebold2020-03-141-3/+30
| | | | Trait items should be public by default.
* visible_from -> is_visible_fromFlorian Diebold2019-12-271-4/+4
|
* Remove Arc from RawVisibilityFlorian Diebold2019-12-261-11/+6
| | | | | Now that it's not used as a direct query return value anymore, it doesn't need to be cheaply cloneable anymore.
* Fix cross-crate glob privacy handlingFlorian Diebold2019-12-261-0/+7
|
* Remove visibility query, instead add struct field visibility to dataFlorian Diebold2019-12-261-54/+6
| | | | | Methods should be handled the same, and for items the visibility will be in the def map.
* Rename ResolvedVisibility -> VisibilityFlorian Diebold2019-12-261-8/+8
|
* Rename Visibility -> RawVisibilityFlorian Diebold2019-12-261-19/+19
|
* Take visibility into account for glob importsFlorian Diebold2019-12-261-4/+16
|
* Collect visibility of items during nameresFlorian Diebold2019-12-261-4/+10
|
* Add doc commentFlorian Diebold2019-12-261-0/+2
|
* Make enum variant fields publicFlorian Diebold2019-12-261-2/+9
|
* Add logic for resolving and checking visibilityFlorian Diebold2019-12-261-1/+39
|
* Add infrastructure for visibility on syntax and hir_def levelFlorian Diebold2019-12-261-0/+101