rust/tests/rustdoc-ui/intra-doc/import-inline-merge-module.rs

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

11 lines
306 B
Rust
Raw Normal View History

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