(closure: impl FnOnce() -> Result<(), Report<E>>)
| 182 | } |
| 183 | |
| 184 | pub fn capture_error<E>(closure: impl FnOnce() -> Result<(), Report<E>>) -> Report<E> { |
| 185 | closure().expect_err("expected an error") |
| 186 | } |
| 187 | |
| 188 | pub fn messages<E>(report: &Report<E>) -> Vec<String> { |
| 189 | report |
no outgoing calls
no test coverage detected