loosen StaticPair
bounds for tuple
This commit is contained in:
parent
8ccbf41e84
commit
1f454fec16
@ -43,10 +43,11 @@ impl<ErrorA: Error, ErrorB: Error> Display for PairParseError<ErrorA, ErrorB> {
|
|||||||
|
|
||||||
impl<ErrorA: Error, ErrorB: Error> Error for PairParseError<ErrorA, ErrorB> {}
|
impl<ErrorA: Error, ErrorB: Error> Error for PairParseError<ErrorA, ErrorB> {}
|
||||||
|
|
||||||
impl<'a, Ctx: Context<'a>, A: Mentionable<'a, Ctx>, B: Mentionable<'a, Ctx>> StaticPair<'a, Ctx>
|
impl<'a, Ctx: Context<'a>, A: MentionableBase<'a, Ctx>, B: MentionableBase<'a, Ctx>>
|
||||||
for (A, B)
|
StaticPair<'a, Ctx> for (A, B)
|
||||||
where
|
where
|
||||||
A::Fctr: InlineableFactory<'a, Ctx>,
|
A::Fctr: InlineableFactory<'a, Ctx>,
|
||||||
|
B::Fctr: ParseMode,
|
||||||
{
|
{
|
||||||
type FactoryData = (Self::FA, Self::FB);
|
type FactoryData = (Self::FA, Self::FB);
|
||||||
type A = A;
|
type A = A;
|
||||||
|
Loading…
Reference in New Issue
Block a user