pub fn lookup_meta(&mut self, spanned: Span, item: &Item) -> CompileResult<CompileMeta> {
        if let Some(meta) = self.try_lookup_meta(spanned, item)? {
            return Ok(meta);
        }

        Err(CompileError::new(
            spanned,
            CompileErrorKind::MissingItem { item: item.clone() },
        ))
    }
/// Access the meta for the given language item.
Access the meta for the given language item.
Access the meta for the given language item .
pub fn lookup_meta(&mut self, spanned: Span, item: &Item) -> CompileResult<CompileMeta> {
        if let Some(meta) = self.try_lookup_meta(spanned, item)? {
            return Ok(meta);
        }
        Err(CompileError::new(
            spanned,
            CompileErrorKind::MissingItem { item: item.clone() },
        ))
    }
pub fn lookup_meta ( & mut self , spanned : Span , item : & Item ) -> CompileResult < CompileMeta > { if let Some ( meta ) = self . try_lookup_meta ( spanned , item ) ? { return Ok ( meta ) ; } Err ( CompileError :: new ( spanned , CompileErrorKind :: MissingItem { item : item . clone ( ) } , ) ) }
Access the meta for the given language item.
Access the meta for the given language item .
&mut self
spanned
Span
item
&Item
&mut self
spanned
Span
item
&Item