We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e379a4 commit 2afc11cCopy full SHA for 2afc11c
tests/rustdoc/reexport/enum-variant.rs
@@ -0,0 +1,15 @@
1
+// This test ensures that the generated links are correctly generated to the associated
2
+// item.
3
+
4
+#![crate_name = "foo"]
5
6
+pub enum Foo {
7
+ S {
8
+ x: u32,
9
+ },
10
+}
11
12
+//@ has 'foo/index.html'
13
14
+//@ has - '//*[@class="item-table reexports"]/*[@id="reexport.S"]//a[@href="enum.Foo.html#variant.S"]' 'S'
15
+pub use self::Foo::S;
0 commit comments