rust-analyzer/crates/hir/src
bors 49716e681a Auto merge of #15472 - Veykril:import-ide-support, r=Veykril
internal: Record import origins in ItemScope and PerNS

This records the import items definitions come from in the module scope (as well as what an import resolves to in an ItemScope). It does ignore glob imports as thats a lot more work for little to no gain, glob imports act as if the importing items are "inlined" into the scope which suffices for almost all use cases I believe (to my knowledge, attributes on them have little effect).

There is still a lot of work needed to make this available to the IDE layer, but this lays out the ground work for havin IDE layer support.

cc https://github.com/rust-lang/rust-analyzer/issues/14079
2023-08-17 09:56:42 +00:00
..
semantics Add currently unused UseId variants 2023-08-02 14:53:45 +02:00
attrs.rs Support doc links that resolve to fields 2023-08-07 00:59:35 +09:00
db.rs Add ExternCrateDecl to HIR 2023-08-02 11:52:55 +02:00
diagnostics.rs Map our diagnostics to rustc and clippy's ones 2023-06-15 01:47:22 +03:30
display.rs start hovering default values of generic constants 2023-08-15 20:26:42 +04:00
from_id.rs Add ExternCrateDecl to HIR 2023-08-02 11:52:55 +02:00
has_source.rs Add ExternCrateDecl to HIR 2023-08-02 11:52:55 +02:00
lib.rs Auto merge of #15179 - ponyii:fix/default-values-of-const-params-are-ignored, r=HKalbasi 2023-08-15 10:17:43 +00:00
semantics.rs Auto merge of #15472 - Veykril:import-ide-support, r=Veykril 2023-08-17 09:56:42 +00:00
source_analyzer.rs Thread imports through the resolver 2023-08-17 10:52:13 +02:00
symbols.rs Lower const params with a bad id 2023-06-11 00:39:28 +03:30