pub fn expected_meta<S>(spanned: S, meta: CompileMeta, expected: &'static str) -> Self
    where
        S: Spanned,
    {
        Self::new(spanned, CompileErrorKind::ExpectedMeta { meta, expected })
    }
/// Error when we got mismatched meta.
Error when we got mismatched meta.
Error when we got mismatched meta .
pub fn expected_meta<S>(spanned: S, meta: CompileMeta, expected: &'static str) -> Self
    where
        S: Spanned,
    {
        Self::new(spanned, CompileErrorKind::ExpectedMeta { meta, expected })
    }
pub fn expected_meta < S > ( spanned : S , meta : CompileMeta , expected : & ' static str ) -> Self where S : Spanned , { Self :: new ( spanned , CompileErrorKind :: ExpectedMeta { meta , expected } ) }
Error when we got mismatched meta.
Error when we got mismatched meta .
spanned
S
meta
CompileMeta
expected
&'static str
spanned
S
meta
CompileMeta
expected
&'static str