rust/tests/target/negative-impl.rs
2020-11-30 23:24:36 -06:00

15 lines
296 B
Rust

impl !Display for JoinHandle {}
impl !Box<JoinHandle> {}
impl !std::fmt::Display
for JoinHandle<T: std::future::Future + std::marker::Send + std::marker::Sync>
{
}
impl
!JoinHandle<T: std::future::Future<Output> + std::marker::Send + std::marker::Sync + 'static>
+ 'static
{
}