pub enum LoweringFlowError {
Failed(DiagnosticAdded),
Unreachable,
Return {
refs: Vec<LivingVar>,
returns: Vec<LivingVar>,
},
}
Expand description
Cases where the flow of lowering an expression should halt.
Variants§
Failed(DiagnosticAdded)
Computation failure. A corresponding diagnostic should be emitted.
Unreachable
The current computation is unreachable.
Return
Trait Implementations§
source§impl Debug for LoweringFlowError
impl Debug for LoweringFlowError
source§impl From<LoweringFlowError> for StatementLoweringFlowError
impl From<LoweringFlowError> for StatementLoweringFlowError
source§fn from(err: LoweringFlowError) -> Self
fn from(err: LoweringFlowError) -> Self
Converts to this type from the input type.