We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3071685 commit 0c511c9Copy full SHA for 0c511c9
src/test/rustdoc/src-links-auto-impls.rs
@@ -0,0 +1,12 @@
1
+#![crate_name = "foo"]
2
+
3
+// @has foo/struct.Unsized.html
4
+// @has - '//h3[@id="impl-Sized"]/code' 'impl !Sized for Unsized'
5
+// @!has - '//h3[@id="impl-Sized"]/a[@class="srclink"]' '[src]'
6
+// @has - '//h3[@id="impl-Sync"]/code' 'impl Sync for Unsized'
7
+// @!has - '//h3[@id="impl-Sync"]/a[@class="srclink"]' '[src]'
8
+// @has - '//h3[@id="impl-Any"]/code' 'impl<T> Any for T'
9
+// @has - '//h3[@id="impl-Any"]/a[@class="srclink"]' '[src]'
10
+pub struct Unsized {
11
+ data: [u8],
12
+}
0 commit comments