macro_rules! test_error {
    ($err:expr) => { ... };
}
Expand description

Create a TestFailure error including the source file location of the macro call.

§Example:

return Err(test_error!("error message"));