rust/tests/rustdoc/intra-doc/cross-crate/additional_doc.rs
2024-06-24 11:08:41 +02:00

11 lines
334 B
Rust

//@ aux-build:additional_doc.rs
//@ build-aux-docs
#![deny(rustdoc::broken_intra_doc_links)]
extern crate my_rand;
//@ has 'additional_doc/trait.Rng.html' '//a[@href="trait.Rng.html"]' 'Rng'
//@ has 'additional_doc/trait.Rng.html' '//a[@href="../my_rand/trait.RngCore.html"]' 'RngCore'
/// This is an [`Rng`].
pub use my_rand::Rng;