Home
last modified time | relevance | path

Searched refs:DetectDrop (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/anyhow/tests/drop/
Dmod.rs27 pub struct DetectDrop { struct
31 impl DetectDrop { implementation
33 DetectDrop { in new()
41 impl StdError for DetectDrop {} implementation
43 impl Display for DetectDrop { implementation
49 impl Drop for DetectDrop { implementation
/external/rust/crates/anyhow/tests/
Dtest_context.rs3 use crate::drop::{DetectDrop, Flag};
22 drop: DetectDrop,
40 drop: DetectDrop,
68 drop: DetectDrop::new(&dropped.low), in make_chain()
75 drop: DetectDrop::new(&dropped.mid), in make_chain()
83 drop: DetectDrop::new(&dropped.high), in make_chain()
Dtest_downcast.rs7 use self::drop::{DetectDrop, Flag};
82 let error = Error::new(DetectDrop::new(&has_dropped)); in test_drop()
83 drop(error.downcast::<DetectDrop>().unwrap()); in test_drop()
Dtest_convert.rs5 use self::drop::{DetectDrop, Flag};
12 let error = Error::new(DetectDrop::new(&has_dropped)); in test_convert()
Dtest_repr.rs3 use self::drop::{DetectDrop, Flag};
27 drop(Error::new(DetectDrop::new(&has_dropped))); in test_drop()