fn insert_new_item(
        &mut self,
        items: &Items,
        source_id: SourceId,
        spanned: Span,
        module: &Arc<CompileMod>,
        visibility: Visibility,
    ) -> Result<Arc<CompileItem>, QueryError> {
        let id = items.id();
        let item = &*items.item();

        self.insert_new_item_with(id, item, source_id, spanned, module, visibility)
    }
/// Inserts an item that *has* to be unique, else cause an error.
///
/// This are not indexed and does not generate an ID, they're only visible
/// in reverse lookup.
Inserts an item that *has* to be unique, else cause an error.
This are not indexed and does not generate an ID, they're only visible
in reverse lookup.
Inserts an item that * has * to be unique else cause an error . This are not indexed and does not generate an ID they ' re only visible in reverse lookup .
fn insert_new_item(
        &mut self,
        items: &Items,
        source_id: SourceId,
        spanned: Span,
        module: &Arc<CompileMod>,
        visibility: Visibility,
    ) -> Result<Arc<CompileItem>, QueryError> {
        let id = items.id();
        let item = &*items.item();
        self.insert_new_item_with(id, item, source_id, spanned, module, visibility)
    }
fn insert_new_item ( & mut self , items : & Items , source_id : SourceId , spanned : Span , module : & Arc < CompileMod > , visibility : Visibility , ) -> Result < Arc < CompileItem > , QueryError > { let id = items . id ( ) ; let item = & * items . item ( ) ; self . insert_new_item_with ( id , item , source_id , spanned , module , visibility ) }
Inserts an item that *has* to be unique, else cause an error.
Inserts an item that * has * to be unique else cause an error .
&mut self
items
&Items
source_id
SourceId
spanned
Span
module
&Arc<CompileMod>
visibility
Visibility
&mut self
items
&Items
source_id
SourceId
spanned
Span
module
&Arc<CompileMod>
visibility
Visibility