rust/tests/rustdoc/intra-doc/cross-crate/auxiliary/submodule-inner.rs

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

13 lines
177 B
Rust
Raw Normal View History

2020-06-09 19:12:01 -05:00
#![crate_name = "a"]
#![deny(rustdoc::broken_intra_doc_links)]
2020-06-09 19:12:01 -05:00
pub mod bar {
pub struct Bar;
}
pub mod foo {
use crate::bar;
/// link to [bar::Bar]
pub struct Foo;
}