rust-analyzer/crates/hir_def/src
Aleksey Kladov 6f269708e8 internal: get rid of a call to slow O(N) visibility_of function
Instead of inferring module's declared visibility by looking at the
scope of its parent, let's just remeber the declared visibility in the
DefMap.
2021-07-12 21:13:43 +03:00
..
body Add a coverage mark 2021-07-05 17:06:16 +02:00
item_tree Add workaround for #9562 2021-07-11 16:14:39 +02:00
nameres internal: get rid of a call to slow O(N) visibility_of function 2021-07-12 21:13:43 +03:00
path clippy::redudant_borrow 2021-06-13 09:24:16 +05:30
adt.rs Global TypeRef/TraitRef interning 2021-04-01 19:46:43 +02:00
attr.rs Record attributes in attr_query for proc-macros 2021-06-28 19:16:38 +02:00
body.rs internal: move diagnostics to hir 2021-05-25 17:49:59 +03:00
builtin_attr.rs Update list of built-in attributes 2021-06-03 18:09:21 +02:00
builtin_type.rs Introduce TypeCtor::Scalar 2021-02-28 01:20:04 +01:00
child_by_source.rs Handle attribute macros in descend_into_macros 2021-06-06 17:03:37 +02:00
data.rs Add comment 2021-06-03 13:51:43 +02:00
db.rs Make it opt-in 2021-06-03 18:09:21 +02:00
dyn_map.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
expr.rs Add support for lengths in array repeats, if they are literals 2021-05-12 21:22:46 -07:00
find_path.rs Implement per-edition preludes 2021-06-01 13:39:19 +02:00
generics.rs Apply some clippy suggestions 2021-06-21 16:40:21 +02:00
import_map.rs Reduce fst_path calls 2021-06-11 00:10:09 +03:00
intern.rs internal: intern AttrInput 2021-05-25 00:50:19 +02:00
item_scope.rs internal: count ItemScopes 2021-06-22 21:02:08 +03:00
item_tree.rs Handle ::{self} imports 2021-06-28 20:13:33 +02:00
keys.rs Handle attribute macros in descend_into_macros 2021-06-06 17:03:37 +02:00
lang_item.rs Add more profiling for flyimports 2021-06-10 23:43:46 +03:00
lib.rs Fix visibility computation with modules from the same block 2021-07-05 16:06:50 +02:00
nameres.rs internal: get rid of a call to slow O(N) visibility_of function 2021-07-12 21:13:43 +03:00
path.rs Apply some clippy suggestions 2021-06-21 16:40:21 +02:00
per_ns.rs Add more profiling for flyimports 2021-06-10 23:43:46 +03:00
resolver.rs Apply some clippy suggestions 2021-06-21 16:40:21 +02:00
src.rs Make ItemTreeId its own type 2021-03-18 01:53:22 +01:00
test_db.rs internal: remove def-level diagnostics tests 2021-06-13 18:45:38 +03:00
trace.rs Use ‘index’ terminology for arena consistently 2021-01-17 18:38:08 +11:00
type_ref.rs Implement TypeRef::ForLifetime 2021-06-30 01:34:54 +02:00
visibility.rs Add a coverage mark 2021-07-05 17:06:16 +02:00