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