aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion/presentation.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-25 08:09:26 +0000
committerGitHub <[email protected]>2020-03-25 08:09:26 +0000
commit8a73a8937d67db97072a11a40f0c3ed963e18e1b (patch)
tree7bfffa2750b044f47b67d7b9e89c14c1a1089505 /crates/ra_ide/src/completion/presentation.rs
parent6ad1a0711631d8017791a6dfe85bbe205d6c7414 (diff)
parentd606521723d2635a21e6dd821b314f8e3127cbf9 (diff)
Merge #3707
3707: Add ItemScope::visibility_of r=matklad a=edwin0cheng ~This PR implements `HasVisibility` for various constructs and change `Definition::search_scope` to use `Visibility` directly instead of depends on ad-hoc string parsing.~ This PR added `visibility_of` in `ItemScope` and `Module` and use it directly directly instead of depends on ad-hoc string parsing. And also add a FIXME to indicate that there is a bug which do not search child-submodules in other files recursively in `Definition::search_scope`. I will submit another PR to fix that bug after this is merged. cc @flodiebold Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/completion/presentation.rs')
0 files changed, 0 insertions, 0 deletions