Home
last modified time | relevance | path

Searched refs:bail_literal (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/anyhow/tests/
Dtest_downcast.rs17 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()
Dtest_macros.rs10 assert_eq!("oh no!", bail_literal().unwrap_err().to_string()); in test_messages()
/external/rust/crates/anyhow/tests/common/
Dmod.rs4 pub fn bail_literal() -> Result<()> { in bail_literal() function