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

9 lines
349 B
Rust

// outer.rs
//@ aux-build: module.rs
//@ build-aux-docs
#![deny(rustdoc::broken_intra_doc_links)]
extern crate module_inner;
//@ has 'module/bar/index.html' '//a[@href="../../module_inner/trait.SomeTrait.html"]' 'SomeTrait'
//@ has 'module/bar/index.html' '//a[@href="../../module_inner/struct.SomeType.html"]' 'SomeType'
pub use module_inner::bar;