[][src]Type Definition moore::errors::DiagResult

type DiagResult<'a, T> = Result<T, DiagnosticBuilder<'a>>;

A diagnostic result type. Either carries the result T in the Ok variant, or an assembled diagnostic in the Err variant.