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

type DiagResult2<T> = Result<T, DiagBuilder2>;

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