Searched refs:bail_literal (Results 1 – 3 of 3) sorted by relevance
17 bail_literal().unwrap_err().downcast::<&str>().unwrap(), in test_downcast()37 *bail_literal().unwrap_err().downcast_ref::<&str>().unwrap(), in test_downcast_ref()57 *bail_literal().unwrap_err().downcast_mut::<&str>().unwrap(), in test_downcast_mut()
10 assert_eq!("oh no!", bail_literal().unwrap_err().to_string()); in test_messages()
4 pub fn bail_literal() -> Result<()> { in bail_literal() function