blob: 9307ec23b1e6577c14cff70847dbba700b65c4ac (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 | // 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;
 |