Context
constrain Fallible
This commit is contained in:
parent
0834b5e0c8
commit
6a6e3609b3
@ -3,7 +3,9 @@ use fail::*;
|
||||
use super::*;
|
||||
|
||||
/// Execution context.
|
||||
pub trait Context<'a>: FallibleCtx<'a, T = Self::_Tm> {
|
||||
pub trait Context<'a>:
|
||||
FallibleCtx<'a, T = Self::_Tm, Fallible = <Self as Context<'a>>::Fallible>
|
||||
{
|
||||
/// Type to provide for [Monad]ic representation of computation, mostly that of resolution ([`Resolution`]).
|
||||
type _Tm: Monad<'a>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user