2019-11-22 15:55:10 -08:00
|
|
|
#![warn(rust_2018_idioms)]
|
|
|
|
|
#![cfg(feature = "full")]
|
|
|
|
|
|
2020-09-24 17:26:03 -07:00
|
|
|
use tokio::io::AsyncRead;
|
2018-01-31 21:06:42 -08:00
|
|
|
|
|
|
|
|
#[test]
|
2019-06-24 12:34:30 -07:00
|
|
|
fn assert_obj_safe() {
|
|
|
|
|
fn _assert<T>() {}
|
|
|
|
|
_assert::<Box<dyn AsyncRead>>();
|
|
|
|
|
}
|