pub type PassResult<T> = Result<(T, Diagnostics), Error>;Expand description
Result type for analysis passes that produce both output and diagnostics.
Each pass returns its typed output alongside any diagnostics it collected.
Fatal errors (like fuel exhaustion) use the outer Result.
Aliased Type§
pub enum PassResult<T> {
Ok((T, Diagnostics)),
Err(Error),
}