Skip to main content

fail

Macro fail 

Source
macro_rules! fail {
    () => { ... };
    ($($arg:tt)*) => { ... };
}
Expand description

The fail macro is used for testing as a substitute for the panic macro. It reports back error information to the host. Used only in testing with test_infrastructure.