d3a5541939
Keep ids of the documented items themselves, not their parent modules. Parent modules can be retreived from those ids when necessary.
11 lines
303 B
Rust
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;
|