26 lines
496 B
Rust
26 lines
496 B
Rust
use crate::func::context::*;
|
|
use crate::rcore::*;
|
|
use crate::rstd::tracing::*;
|
|
|
|
use super::*;
|
|
|
|
pub struct TestContextTraced;
|
|
|
|
impl<'a> FunctorContext<'a> for TestContextTraced {
|
|
type T = TracedInstance;
|
|
}
|
|
|
|
impl<'a> Context<'a> for TestContextTraced {
|
|
type _Tm = Self::T;
|
|
|
|
type Fallible = instances::result::ResultFailOver<Self::T>;
|
|
|
|
type D = TracedDiagnostic;
|
|
|
|
type LookupError = TestLookupError<'a>;
|
|
|
|
fn hash(s: &[u8]) -> Hash {
|
|
TestContextPlain::hash(s)
|
|
}
|
|
}
|