pub trait ResolveToSym<'db> {
// Required method
fn resolve_to_sym(
self,
db: &'db dyn Db,
scope: &Scope<'_, 'db>,
) -> Errors<NameResolutionSym<'db>>;
}Expand description
Partial name resolution: This simply extracts what symbol has been named by the user in a path. It can by synchronous and only requires a scope, not a type checking environment. This is used when creating default permissions, as we want to be able to do that before type checking has truly begun.