From 4ae569c5fa511fba769b0a642a0d190915558ddb Mon Sep 17 00:00:00 2001 From: timofey Date: Sat, 29 Jul 2023 14:19:52 +0000 Subject: [PATCH] loosen `Factory` impl --- src/rcore/modes.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rcore/modes.rs b/src/rcore/modes.rs index e8b6f2d..2cb185a 100644 --- a/src/rcore/modes.rs +++ b/src/rcore/modes.rs @@ -40,9 +40,8 @@ where } } -impl<'a, Ctx: Context<'a>, F: FactoryBase<'a, Ctx> + WithParseMode> Factory<'a, Ctx> for F +impl<'a, Ctx: Context<'a>, F: ParseFactory<'a, Ctx> + WithParseMode> Factory<'a, Ctx> for F where - F::WithMode: FactoryProxy<'a, Ctx, F = Self>, F::Mtbl: MentionableTop<'a, Ctx>, { type _Mtbl = Self::Mtbl;