rust/tests/source/negative-impl.rs

8 lines
328 B
Rust
Raw Normal View History

2020-11-30 21:21:11 -06:00
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 { }