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 e78d499 commit 9eb6394Copy full SHA for 9eb6394
src/test/rustdoc/intra-doc-crate/additional_doc.rs
@@ -0,0 +1,8 @@
1
+// aux-build:additional_doc.rs
2
+// build-aux-docs
3
+extern crate rand;
4
+
5
+// @has 'additional_doc/trait.Rng.html' '//a[@href="../additional_doc/trait.Rng.html"]' 'Rng'
6
+// @has 'additional_doc/trait.Rng.html' '//a[@href="../rand/trait.RngCore.html"]' 'RngCore'
7
+/// This is an [`Rng`].
8
+pub use rand::Rng;
src/test/rustdoc/intra-doc-crate/auxiliary/additional_doc.rs
@@ -0,0 +1,5 @@
+#![crate_name = "rand"]
+pub trait RngCore {}
+/// Rng extends [`RngCore`].
+pub trait Rng: RngCore {}
0 commit comments