[][src]Function combinedfun::fail_with_const

pub fn fail_with_const<I, O, E>(
    e: E
) -> Parser<impl ParserImpl<I, Output = O, Error = E>, I> where
    E: Clone

Always fails, generating the error using Clone::clone.

If your error isn't Clone, consider using fail_with.