Type Definition moore_common::errors::DiagResult
source · [−]pub type DiagResult<'a, T> = Result<T, DiagnosticBuilder<'a>>;
Expand description
A diagnostic result type. Either carries the result T
in the Ok variant,
or an assembled diagnostic in the Err variant.