rust/crates/ide_db/src
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
..
call_info simplify 2021-05-28 20:46:09 +02:00
helpers Cleanup insert_use tests 2021-06-19 22:33:29 +02:00
line_index Make utf8 default, implement utf16 in terms of it 2021-02-16 19:17:32 +03:00
traits simplify 2021-05-28 20:46:09 +02:00
apply_change.rs Simplify eager macro representation 2021-05-19 20:19:08 +02:00
assists.rs internal: cut deps between assists and diagnostics 2021-06-14 17:45:17 +03:00
call_info.rs clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
defs.rs internal: remove one more accidentally quadratic code-path 2021-06-22 21:26:07 +03:00
helpers.rs Factor out pick_best_token ide pattern into ide_db 2021-06-22 17:50:15 +02:00
items_locator.rs Fix the profile string 2021-03-21 11:45:37 +02:00
label.rs Cleanup ide_db imports 2021-03-27 21:51:00 +01:00
lib.rs Feat: inline generics in const and func trait completions 2021-06-17 19:54:28 -04:00
line_index.rs internal: use API stabilized in 1.52 2021-05-06 20:12:15 +03:00
path_transform.rs Feat: inline generics in const and func trait completions 2021-06-17 19:54:28 -04:00
rename.rs internal: more natural order of sources for TypeParam 2021-06-14 22:42:43 +03:00
search.rs cargo fmt 2021-06-13 09:48:15 +05:30
source_change.rs Cleanup ide_db imports 2021-03-27 21:51:00 +01:00
symbol_index.rs Add more profiling for flyimports 2021-06-10 23:43:46 +03:00
traits.rs Cleanup ide_db imports 2021-03-27 21:51:00 +01:00
ty_filter.rs minor: align import style with styleguide 2021-05-23 23:40:19 +03:00