[−][src]Function combinedfun::fail_with
pub fn fail_with<I, O, E, F>(
f: F
) -> Parser<impl ParserImpl<I, Output = O, Error = E>, I> where
F: Fn() -> E,
Always fails, generating the error using a closure.
If your error is Clone
, consider using fail_with_const
.