remove Context::Fallible
implementations
This commit is contained in:
parent
521702ba99
commit
8c033ed044
@ -1,9 +1,7 @@
|
||||
use super::*;
|
||||
|
||||
/// Execution context.
|
||||
pub trait Context<'a>:
|
||||
FallibleCtx<'a, T = Self::_Tm>
|
||||
{
|
||||
pub trait Context<'a>: FallibleCtx<'a, T = Self::_Tm> {
|
||||
/// Type to provide for [Monad]ic representation of computation, mostly that of resolution ([`Resolution`]).
|
||||
type _Tm: Monad<'a>;
|
||||
|
||||
|
@ -75,8 +75,6 @@ impl<'a> FallibleCtx<'a> for TestContextPlain {
|
||||
impl<'a> Context<'a> for TestContextPlain {
|
||||
type _Tm = Self::T;
|
||||
|
||||
type Fallible = instances::result::ResultFailAny;
|
||||
|
||||
type D = NoDiagnostic;
|
||||
|
||||
type LookupError = TestLookupError<'a>;
|
||||
|
@ -18,8 +18,6 @@ impl<'a> FallibleCtx<'a> for TestContextCounted {
|
||||
impl<'a> Context<'a> for TestContextCounted {
|
||||
type _Tm = Self::T;
|
||||
|
||||
type Fallible = instances::result::ResultFailOver<Self::T>;
|
||||
|
||||
type D = NoDiagnostic;
|
||||
|
||||
type LookupError = TestLookupError<'a>;
|
||||
|
@ -17,8 +17,6 @@ impl<'a> FallibleCtx<'a> for TestContextTraced {
|
||||
impl<'a> Context<'a> for TestContextTraced {
|
||||
type _Tm = Self::T;
|
||||
|
||||
type Fallible = instances::result::ResultFailOver<Self::T>;
|
||||
|
||||
type D = TracedDiagnostic;
|
||||
|
||||
type LookupError = TestLookupError<'a>;
|
||||
|
Loading…
Reference in New Issue
Block a user