macro_rules! test_error { ($err:expr) => { ... }; }
Create a TestFailure error including the source file location of the macro call.
TestFailure
return Err(test_error!("error message"));