blob: 31fef032b0fc959cfca692666144c9a22e36fcd3 (
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;
|