rust-analyzer/crates/hir-def/src
bors dd42c1457d Auto merge of #16101 - Veykril:search-depedencies-fix, r=Veykril
fix: Fix `import_map::search_dependencies` getting confused by assoc and non assoc items with the same name

No test case as creating one is kind of tricky... Ideally the code should be restructured such that this collision wouldn't matter in the first place, its kind of a mess.

Fixes https://github.com/rust-lang/rust-analyzer/issues/16074
Fixes https://github.com/rust-lang/rust-analyzer/issues/16080
Fixes https://github.com/rust-lang/rust-analyzer/issues/15845
2023-12-12 14:51:25 +00:00
..
attr Allow navigation targets to be duplicated when the focus range lies in the macro definition site 2023-12-06 12:38:19 +01:00
body fix: Fix completion failing in format_args! with invalid template 2023-12-08 20:35:33 +01:00
data Merge commit '3b7c7f97e4' into sync-from-ra 2023-11-08 08:15:03 +02:00
dyn_map Merge commit 'baee6b338b' into sync-from-ra 2023-08-07 12:03:15 +03:00
hir fix: Fix completion failing in format_args! with invalid template 2023-12-08 20:35:33 +01:00
item_tree fix: Fix item tree lowering pub(self) to pub() 2023-12-08 11:59:44 +01:00
macro_expansion_tests fix: Fix concat_bytes! expansion 2023-12-08 11:34:03 +01:00
nameres fix: Fix item tree lowering pub(self) to pub() 2023-12-08 11:59:44 +01:00
path 🧹 2023-11-28 10:55:40 +01:00
attr.rs Rename hygiene vars and fields to span_map 2023-11-28 10:55:40 +01:00
body.rs Implicit format args support 2023-12-05 17:07:00 +01:00
builtin_type.rs Merge commit 'aa9bc86125' into sync-from-ra 2023-06-05 12:04:23 +03:00
child_by_source.rs Replace doc_comments_and_attrs with collect_attrs, 2nd round 2023-12-11 22:56:50 +03:30
data.rs Fix macro expansion expression parenthesis wrapping 2023-12-02 13:03:46 +01:00
db.rs Merge commit '9b3d03408c' into sync-from-ra 2023-08-21 12:44:09 +03:00
dyn_map.rs Merge commit '3b7c7f97e4' into sync-from-ra 2023-11-08 08:15:03 +02:00
expander.rs Fix macro expansion expression parenthesis wrapping 2023-12-02 13:03:46 +01:00
find_path.rs spans always come from real file 2023-11-28 10:55:39 +01:00
generics.rs Allow navigation targets to be duplicated when the focus range lies in the macro definition site 2023-12-06 12:38:19 +01:00
hir.rs Merge commit '258b15c506' into sync-from-ra 2023-09-18 12:33:49 +03:00
import_map.rs fix: Fix import_map::search_dependencies getting confused by assoc and non assoc items with the same name 2023-12-12 15:45:42 +01:00
item_scope.rs spans always come from real file 2023-11-28 10:55:39 +01:00
item_tree.rs Auto merge of #15959 - Veykril:macro-shower3, r=lnicola 2023-12-04 19:59:53 +00:00
lang_item.rs Merge commit '258b15c506' into sync-from-ra 2023-09-18 12:33:49 +03:00
lib.rs Don't explicitly warn against semicolon_in_expressions_from_macros 2023-12-05 11:35:09 +01:00
lower.rs 🧹 2023-11-28 10:55:40 +01:00
nameres.rs Merge commit '258b15c506' into sync-from-ra 2023-09-18 12:33:49 +03:00
path.rs 🧹 2023-11-28 10:55:40 +01:00
per_ns.rs Merge commit '9b3d03408c' into sync-from-ra 2023-08-21 12:44:09 +03:00
pretty.rs Merge commit '258b15c506' into sync-from-ra 2023-09-18 12:33:49 +03:00
resolver.rs fix: prefer keeping Self if it is in the same impl def 2023-12-08 12:30:14 +01:00
src.rs Merge commit '9b3d03408c' into sync-from-ra 2023-08-21 12:44:09 +03:00
test_db.rs Fix float-split hack not setting up spans correctly 2023-11-28 10:55:39 +01:00
trace.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
visibility.rs fix: Fix item tree lowering pub(self) to pub() 2023-12-08 11:59:44 +01:00