rust/crates
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
..
ra_arena Simplify Arena to use a generic index 2020-03-19 18:46:30 +01:00
ra_assists Merge #3708 2020-03-24 16:15:08 +00:00
ra_cargo_watch Merge #3632 2020-03-23 11:55:26 +00:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Support loading OUT_DIR from cargo check at launch 2020-03-17 14:47:05 +01:00
ra_fmt update itertools version to 0.9.0 2020-03-23 16:22:46 -07:00
ra_hir Add ItemScope::visibility_of 2020-03-25 04:45:42 +08:00
ra_hir_def Add ItemScope::visibility_of 2020-03-25 04:45:42 +08:00
ra_hir_expand Generalise syntax rewriting infrastructure to allow removal of nodes 2020-03-24 17:14:33 +01:00
ra_hir_ty Merge #3679 2020-03-22 14:17:06 +00:00
ra_ide Improvements based on code review feedback 2020-03-25 00:18:55 +01:00
ra_ide_db Use visibility_of in search 2020-03-25 04:45:55 +08:00
ra_mbe Add open delim when delim not match 2020-03-21 05:20:28 +08:00
ra_parser Support arbitrary discriminants 2020-03-20 08:50:34 +01:00
ra_prof Allow specifying additional info on call to profile 2020-03-06 17:36:51 +01:00
ra_project_model ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for now 2020-03-21 23:37:15 +02:00
ra_syntax Merge #3708 2020-03-24 16:15:08 +00:00
ra_text_edit Remove some TextUnit->usize escapees 2020-03-12 22:33:27 -04:00
ra_tt Make MBE expansion more resilient (WIP) 2020-03-16 18:38:19 +01:00
rust-analyzer Added new inlay hint kind and rules for method chaining 2020-03-24 23:18:42 +01:00
test_utils Move verbose tests out of line 2020-03-13 12:20:42 +01:00