remove Context::Fallible

This commit is contained in:
AF 2023-07-06 03:48:43 +00:00
parent 49cfeea849
commit 521702ba99

View File

@ -1,16 +1,12 @@
use fail::*;
use super::*;
/// Execution context.
pub trait Context<'a>:
FallibleCtx<'a, T = Self::_Tm, Fallible = <Self as Context<'a>>::Fallible>
FallibleCtx<'a, T = Self::_Tm>
{
/// Type to provide for [Monad]ic representation of computation, mostly that of resolution ([`Resolution`]).
type _Tm: Monad<'a>;
type Fallible: MonadFailAny<'a, T = Self::T>;
/// See [`Diagnostic`].
type D: Diagnostic<'a, Self::T>;