rust/tests/rustdoc-ui/intra-doc/import-inline-merge-module.rs
Vadim Petrochenkov d3a5541939 rustdoc: Cleanup parent module tracking for doc links
Keep ids of the documented items themselves, not their parent modules.
Parent modules can be retreived from those ids when necessary.
2023-03-21 17:36:57 +04:00

11 lines
303 B
Rust

// Test for issue #108501.
// Module parent scope doesn't hijack import's parent scope for the import's doc links.
// check-pass
// aux-build: inner-crate-doc.rs
// compile-flags: --extern inner_crate_doc --edition 2018
/// Import doc comment [inner_crate_doc]
#[doc(inline)]
pub use inner_crate_doc;