pub trait SubstParseContextExt: SubstParseContext {
// Required method
fn allow_tokens(
span: &impl Spanned,
) -> Result<(<Self as SubstParseContext>::NotInPaste, <Self as SubstParseContext>::NotInConcat)>;
}Expand description
Extensions/helpers for SubstParseContext
Required Methods§
fn allow_tokens( span: &impl Spanned, ) -> Result<(<Self as SubstParseContext>::NotInPaste, <Self as SubstParseContext>::NotInConcat)>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.