fn import_indexed(
        &mut self,
        span: Span,
        item: Arc<CompileItem>,
        source: Arc<Source>,
        indexed: Indexed,
        used: Used,
    ) -> Result<(), QueryError> {
        // NB: if we find another indexed entry, queue it up for
        // building and clone its built meta to the other
        // results.
        let entry = IndexedEntry {
            item,
            source,
            indexed,
        };

        let meta = self.build_indexed_entry(span, entry, used)?;

        self.unit
            .insert_meta(&meta)
            .map_err(|error| QueryError::new(span, error))?;

        self.insert_meta(span, meta)?;
        Ok(())
    }
/// Handle an imported indexed entry.
Handle an imported indexed entry.
Handle an imported indexed entry .
fn import_indexed(
        &mut self,
        span: Span,
        item: Arc<CompileItem>,
        source: Arc<Source>,
        indexed: Indexed,
        used: Used,
    ) -> Result<(), QueryError> {
        // NB: if we find another indexed entry, queue it up for
        // building and clone its built meta to the other
        // results.
        let entry = IndexedEntry {
            item,
            source,
            indexed,
        };
        let meta = self.build_indexed_entry(span, entry, used)?;
        self.unit
            .insert_meta(&meta)
            .map_err(|error| QueryError::new(span, error))?;
        self.insert_meta(span, meta)?;
        Ok(())
    }
fn import_indexed ( & mut self , span : Span , item : Arc < CompileItem > , source : Arc < Source > , indexed : Indexed , used : Used , ) -> Result < ( ) , QueryError > { // NB: if we find another indexed entry, queue it up for // building and clone its built meta to the other // results. let entry = IndexedEntry { item , source , indexed , } ; let meta = self . build_indexed_entry ( span , entry , used ) ? ; self . unit . insert_meta ( & meta ) . map_err ( | error | QueryError :: new ( span , error ) ) ? ; self . insert_meta ( span , meta ) ? ; Ok ( ( ) ) }
Handle an imported indexed entry.
Handle an imported indexed entry .
&mut self
span
Span
item
Arc<CompileItem>
source
Arc<Source>
indexed
Indexed
used
Used
&mut self
span
Span
item
Arc<CompileItem>
source
Arc<Source>
indexed
Indexed
used
Used