pub type DiagResult2<T> = Result<T, DiagBuilder2>;
Expand description

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