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 2a1bd47 commit 8642d82Copy full SHA for 8642d82
tests/rustdoc/reexport/enum-variant.rs
@@ -0,0 +1,14 @@
1
+// This test ensures that reexported enum variants correctly link to the original variant.
2
+
3
+#![crate_name = "foo"]
4
5
+pub enum Foo {
6
+ S {
7
+ x: u32,
8
+ },
9
+}
10
11
+//@ has 'foo/index.html'
12
13
+//@ has - '//*[@class="item-table reexports"]/*[@id="reexport.S"]//a[@href="enum.Foo.html#variant.S"]' 'S'
14
+pub use self::Foo::S;
0 commit comments