rust/crates
Aleksey Kladov 7be2d2f008 internal: remove one more accidentally quadratic code-path
Definition::visibility was implemented in a rather roundabout way -- by
asking the parent module about the effective visibility.

This is problematic for a couple of reasons:

* first, it doesn't work for local items
* second, asking module about visibility of a child is a linear
  operation (that's a problem in itself, tracked in #9378)

Instead, lets ask the declared visibility directly, we have all the code
for it, and need only to actually us it.
2021-06-22 21:26:07 +03:00
..
base_db Move features into potential_cfg_options 2021-06-21 17:54:05 +01:00
cfg Improve completion of cfg attributes 2021-06-21 17:47:00 +01:00
flycheck
hir internal: remove one more accidentally quadratic code-path 2021-06-22 21:26:07 +03:00
hir_def internal: count ItemScopes 2021-06-22 21:02:08 +03:00
hir_expand Apply some clippy suggestions 2021-06-21 16:40:21 +02:00
hir_ty Fix benchmark_include_macro 2021-06-20 19:37:45 +02:00
ide Factor out pick_best_token ide pattern into ide_db 2021-06-22 17:50:15 +02:00
ide_assists Fix var name 2021-06-21 22:47:39 +09:00
ide_completion Move features into potential_cfg_options 2021-06-21 17:54:05 +01:00
ide_db internal: remove one more accidentally quadratic code-path 2021-06-22 21:26:07 +03:00
ide_diagnostics minor: use minicore 2021-06-18 23:48:18 +03:00
ide_ssr
mbe Apply some clippy suggestions 2021-06-21 16:40:21 +02:00
parser Complete repr attribute parameters 2021-06-17 21:15:49 +02:00
paths
proc_macro_api Update crates 2021-06-22 13:18:48 -04:00
proc_macro_srv Update crates 2021-06-22 13:18:48 -04:00
proc_macro_test Set explicit target directory to avoid cargo deadlock 2021-06-22 03:34:32 +08:00
profile
project_model Move features into potential_cfg_options 2021-06-21 17:54:05 +01:00
rust-analyzer Merge #9348 2021-06-21 21:42:02 +00:00
stdx
syntax Merge #9367 2021-06-22 08:46:01 +00:00
test_utils test_utils: Make overlapping annotations possible 2021-06-20 19:12:06 +02:00
text_edit
toolchain
tt
vfs Nest all the or-patterns! 2021-06-17 17:37:14 +02:00
vfs-notify