diff --git a/src/rcore/demoted.rs b/src/rcore/demoted.rs index 93e2720..707a495 100644 --- a/src/rcore/demoted.rs +++ b/src/rcore/demoted.rs @@ -29,7 +29,7 @@ impl<'a: 'c, 'c, Ctx: Context<'a>> InCtx<'a, Ctx> for Demoted<'a, 'c, Ctx> { Ok((address, Self(dectx))) } - fn icnext_point<'b, A: Mentionable<'a, Ctx>, E>( + fn icnext_point<'b, A: MentionableBase<'a, Ctx>, E>( self, factory: A::Fctr, err: impl FnOnce(&[u8]) -> E, diff --git a/src/rcore/inctx.rs b/src/rcore/inctx.rs index 73d7d6f..382c3c9 100644 --- a/src/rcore/inctx.rs +++ b/src/rcore/inctx.rs @@ -6,7 +6,7 @@ pub trait InCtx<'a, Ctx: Context<'a>>: Inlining { fn icnext_address(self, err: impl FnOnce(&[u8]) -> E) -> Result<(Address, Self), E>; /// Read the next [Point]. - fn icnext_point<'b, A: Mentionable<'a, Ctx>, E>( + fn icnext_point<'b, A: MentionableBase<'a, Ctx>, E>( self, factory: A::Fctr, err: impl FnOnce(&[u8]) -> E,