fn resolve_hir_path_qualifier<'db>(
db: &'db dyn HirDatabase,
resolver: &Resolver<'db>,
path: &Path,
store: &ExpressionStore,
) -> Option<PathResolution<'db>>Expand description
Resolves a path where we know it is a qualifier of another path.
For example, if we have:
mod my {
pub mod foo {
struct Bar;
}
pub fn foo() {}
}then we know that foo in my::foo::Bar refers to the module, not the function.