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 2778b71 commit c967e25Copy full SHA for c967e25
tests/rustdoc/issue-105735-overlapping-reexport.rs
@@ -0,0 +1,17 @@
1
+// Regression test to ensure that both `AtomicU8` items are displayed.
2
+
3
+#![crate_name = "foo"]
4
5
+// @has 'foo/index.html'
6
+// @has - '//*[@class="item-name"]/a[@class="struct"]' 'AtomicU8'
7
+// @has - '//*[@class="item-name"]/a[@class="constant"]' 'AtomicU8'
8
+// @has - '//*[@id="reexport.AtomicU8"]/code' 'pub use crate::thing::AtomicU8;'
9
10
+mod thing {
11
+ pub use std::sync::atomic::AtomicU8;
12
13
+ #[allow(non_upper_case_globals)]
14
+ pub const AtomicU8: () = ();
15
+}
16
17
+pub use crate::thing::AtomicU8;
0 commit comments