Debian Codegraph @

third_party/rust/tokio/tests/io_async_read.rs

raw
1 #![warn(rust_2018_idioms)]
2 #![cfg(feature = "full")]
3
4 use tokio::io::AsyncRead;
5
6 #[test]
7 fn assert_obj_safe() {
8 fn _assert<T>() {}
9 _assert::<Box<dyn AsyncRead>>();
10 }