rust/tests/rustdoc/intra-doc/cross-crate/module.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
349 B
Rust
Raw Normal View History

// 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;