Searched refs:bail_fmt (Results 1 – 3 of 3) sorted by relevance
21 bail_fmt().unwrap_err().downcast::<String>().unwrap(), in test_downcast()41 bail_fmt().unwrap_err().downcast_ref::<String>().unwrap(), in test_downcast_ref()61 bail_fmt().unwrap_err().downcast_mut::<String>().unwrap(), in test_downcast_mut()72 let mut bailed = bail_fmt().unwrap_err(); in test_downcast_mut()
11 assert_eq!("oh no!", bail_fmt().unwrap_err().to_string()); in test_messages()
8 pub fn bail_fmt() -> Result<()> { in bail_fmt() function