mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
17 lines
325 B
Rust
17 lines
325 B
Rust
// Import for `A` is inlined and doc comments on the import and `A` itself are merged.
|
|
// After the merge they still have correct parent scopes to resolve both `[A]` and `[B]`.
|
|
|
|
//@ check-pass
|
|
|
|
#![allow(rustdoc::private_intra_doc_links)]
|
|
|
|
mod m {
|
|
/// [B]
|
|
pub struct A {}
|
|
|
|
pub struct B {}
|
|
}
|
|
|
|
/// [A]
|
|
pub use m::A;
|