We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b8b6f9 commit 51b138cCopy full SHA for 51b138c
1 file changed
src/tools/rust-analyzer/crates/hir/src/lib.rs
@@ -2784,6 +2784,7 @@ impl From<ModuleDef> for ItemInNs {
2784
ModuleDef::Static(_) | ModuleDef::Const(_) | ModuleDef::Function(_) => {
2785
ItemInNs::Values(module_def)
2786
}
2787
+ ModuleDef::Macro(it) => ItemInNs::Macros(it),
2788
_ => ItemInNs::Types(module_def),
2789
2790
0 commit comments