bors[bot] 8a73a8937d
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 <edwin0cheng@gmail.com>
2020-03-25 08:09:26 +00:00
..
2020-03-24 16:15:08 +00:00
2020-03-23 11:55:26 +00:00
2020-03-23 16:22:46 -07:00
2020-03-25 04:45:42 +08:00
2020-03-25 04:45:42 +08:00
2020-03-22 14:17:06 +00:00
2020-03-25 04:45:55 +08:00
2020-03-20 08:50:34 +01:00
2020-03-24 16:15:08 +00:00
2020-03-13 12:20:42 +01:00