remove Context::Fallible implementations

This commit is contained in:
AF 2023-07-06 03:49:36 +00:00
parent 521702ba99
commit 8c033ed044
4 changed files with 1 additions and 9 deletions

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;