Uhhh fixed it by setting r to outlive x. I Don't know if that was correct.
This commit is contained in:
parent
ea63793b36
commit
5b645c67e5
@ -43,7 +43,7 @@ use tracing::trace;
|
|||||||
|
|
||||||
type UnboundMatcher<'r, I, O, E> = dyn Fn(Context<'r>, I) -> IResult<I, O, E>;
|
type UnboundMatcher<'r, I, O, E> = dyn Fn(Context<'r>, I) -> IResult<I, O, E>;
|
||||||
|
|
||||||
fn context_many_till<'r, 'x, I, O, E, F, M, T>(
|
fn context_many_till<'r: 'x, 'x, I, O, E, F, M, T>(
|
||||||
context: Context<'r>,
|
context: Context<'r>,
|
||||||
mut many_matcher: M,
|
mut many_matcher: M,
|
||||||
mut till_matcher: T,
|
mut till_matcher: T,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user