pub(crate) fn insert_new_item(
        &self,
        items: &Items,
        source_id: SourceId,
        spanned: Span,
        module: &Arc<CompileMod>,
        visibility: Visibility,
    ) -> Result<Arc<CompileItem>, QueryError> {
        self.inner
            .borrow_mut()
            .insert_new_item(items, source_id, spanned, module, visibility)
    }
/// Insert a new item with the given parameters.
Insert a new item with the given parameters.
Insert a new item with the given parameters .
pub(crate) fn insert_new_item(
        &self,
        items: &Items,
        source_id: SourceId,
        spanned: Span,
        module: &Arc<CompileMod>,
        visibility: Visibility,
    ) -> Result<Arc<CompileItem>, QueryError> {
        self.inner
            .borrow_mut()
            .insert_new_item(items, source_id, spanned, module, visibility)
    }
pub ( crate ) fn insert_new_item ( & self , items : & Items , source_id : SourceId , spanned : Span , module : & Arc < CompileMod > , visibility : Visibility , ) -> Result < Arc < CompileItem > , QueryError > { self . inner . borrow_mut ( ) . insert_new_item ( items , source_id , spanned , module , visibility ) }
Insert a new item with the given parameters.
Insert a new item with the given parameters .
&self
items
&Items
source_id
SourceId
spanned
Span
module
&Arc<CompileMod>
visibility
Visibility
&self
items
&Items
source_id
SourceId
spanned
Span
module
&Arc<CompileMod>
visibility
Visibility