Macro nom::error_position [] [src]

macro_rules! error_position {
    ($input:expr, $code:expr) => { ... };
}

creates a parse error from a nom::ErrorKind and the position in the input if "verbose-errors" is not activated, it default to only the error code