(msg_fn: F)
| 48 | #[cold] |
| 49 | #[track_caller] |
| 50 | pub fn assert_failed<F>(msg_fn: F) |
| 51 | where |
| 52 | F: FnOnce(), |
| 53 | { |
| 54 | // We simply call the closure, which contains the panic!. |
| 55 | msg_fn(); |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | /// We only run basic sanity checks here. The really interesting tests are in a separate crate in this workspace. |
nothing calls this directly
no outgoing calls
no test coverage detected