[−][src]Trait moore::errors::EmitError
Emit errors as diagnostics.
Useful if implemented on the error types returned from results. Allows these
results to be emitted as diagnostics on-the-fly and converted to a ()
error type result.
Associated Types
type Output
Required methods
fn emit<C>(self, ctx: C) -> Self::Output where
C: DiagEmitter,
C: DiagEmitter,
Implementations on Foreign Types
impl<T, E> EmitError for Result<T, E> where
E: EmitError,
[src]
E: EmitError,
type Output = Result<T, <E as EmitError>::Output>
fn emit<C>(self, ctx: C) -> Result<T, <E as EmitError>::Output> where
C: DiagEmitter,
[src]
C: DiagEmitter,
impl EmitError for ConstError
[src]
type Output = ()
fn emit<C>(self, ctx: C) where
C: DiagEmitter,
[src]
C: DiagEmitter,