Function expected_msg_got_none

Source
pub(crate) fn expected_msg_got_none(msg: &str) -> impl Fn() -> Status + '_