We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f03297 commit ca47808Copy full SHA for ca47808
src/test/rustdoc/auxiliary/pub-extern-crate.rs
@@ -0,0 +1,2 @@
1
+#![crate_name = "inner"]
2
+pub struct SomeStruct;
src/test/rustdoc/pub-extern-crate.rs
@@ -0,0 +1,9 @@
+// aux-build:pub-extern-crate.rs
+
3
+// @has pub_extern_crate/index.html
4
+// @!has - '//code' 'pub extern crate inner'
5
+// @has - '//a/@href' 'inner/index.html'
6
+// @has pub_extern_crate/inner/index.html
7
+// @has pub_extern_crate/inner/struct.SomeStruct.html
8
+#[doc(inline)]
9
+pub extern crate inner;
0 commit comments