fn lookup_local(&self, context: &Context, query: &Query, local: &str) -> Item {
        let item = self.module.item.extended(local);

        if let ImportKind::Local = self.kind {
            if query.contains_prefix(&item) {
                return item;
            }
        }

        if context.contains_crate(local) {
            return Item::with_crate(local);
        }

        item
    }
/// Lookup a local identifier in the current context and query.
Lookup a local identifier in the current context and query.
Lookup a local identifier in the current context and query .
fn lookup_local(&self, context: &Context, query: &Query, local: &str) -> Item {
        let item = self.module.item.extended(local);
        if let ImportKind::Local = self.kind {
            if query.contains_prefix(&item) {
                return item;
            }
        }
        if context.contains_crate(local) {
            return Item::with_crate(local);
        }
        item
    }
fn lookup_local ( & self , context : & Context , query : & Query , local : & str ) -> Item { let item = self . module . item . extended ( local ) ; if let ImportKind :: Local = self . kind { if query . contains_prefix ( & item ) { return item ; } } if context . contains_crate ( local ) { return Item :: with_crate ( local ) ; } item }
Lookup a local identifier in the current context and query.
Lookup a local identifier in the current context and query .
&self
context
&Context
query
&Query
local
&str
&self
context
&Context
query
&Query
local
&str