We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96ee060 commit c40a8c1Copy full SHA for c40a8c1
tests/source/negative-impl.rs
@@ -0,0 +1,7 @@
1
+impl ! Display for JoinHandle { }
2
+
3
+impl ! Box < JoinHandle > { }
4
5
+impl ! std :: fmt :: Display for JoinHandle < T : std :: future :: Future + std :: marker :: Send + std :: marker :: Sync > { }
6
7
+impl ! JoinHandle < T : std :: future :: Future < Output > + std :: marker :: Send + std :: marker :: Sync + 'static > + 'static { }
tests/target/negative-impl.rs
@@ -0,0 +1,14 @@
+impl !Display for JoinHandle {}
+impl !Box<JoinHandle> {}
+impl !std::fmt::Display
+ for JoinHandle<T: std::future::Future + std::marker::Send + std::marker::Sync>
+{
8
+}
9
10
+impl
11
+ !JoinHandle<T: std::future::Future<Output> + std::marker::Send + std::marker::Sync + 'static>
12
+ + 'static
13
14
0 commit comments