pub fn experimental<S>(spanned: S, msg: &'static str) -> Self
    where
        S: Spanned,
    {
        Self::new(spanned, CompileErrorKind::Experimental { msg })
    }
/// Construct an experimental error.
///
/// This should be used when an experimental feature is used which hasn't
/// been enabled.
Construct an experimental error.
This should be used when an experimental feature is used which hasn't
been enabled.
Construct an experimental error . This should be used when an experimental feature is used which hasn ' t been enabled .
pub fn experimental<S>(spanned: S, msg: &'static str) -> Self
    where
        S: Spanned,
    {
        Self::new(spanned, CompileErrorKind::Experimental { msg })
    }
pub fn experimental < S > ( spanned : S , msg : & ' static str ) -> Self where S : Spanned , { Self :: new ( spanned , CompileErrorKind :: Experimental { msg } ) }
Construct an experimental error.
Construct an experimental error .
spanned
S
msg
&'static str
spanned
S
msg
&'static str