Function mz_sqllogictest::runner::should_warn

source ·
fn should_warn(outcome: &Outcome<'_>) -> bool
Expand description

Evaluates if the given outcome should be returned directly or if it should be wrapped as a warning. Note that this function should be used for outcomes that can be judged in a context-independent manner, i.e., the outcome itself provides enough information as to whether a warning should be emitted or not.