We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28b6d2c commit 7c53ae0Copy full SHA for 7c53ae0
src/test/rustdoc/auto-trait-not-send.rs
@@ -0,0 +1,8 @@
1
+#![crate_name = "foo"]
2
+
3
+// @has 'foo/struct.Foo.html'
4
+// @has - '//*[@id="impl-Send"]' 'impl !Send for Foo'
5
+// @has - '//*[@id="impl-Sync"]' 'impl !Sync for Foo'
6
+pub struct Foo(*const i8);
7
+pub trait Whatever: Send {}
8
+impl<T: Send + ?Sized> Whatever for T {}
0 commit comments