summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/intra-doc/cross-crate/auxiliary/submodule-inner.rs
blob: 0612f53d6a7062ff05cb8eb0a2a0913a16d54c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![crate_name = "a"]
#![deny(rustdoc::broken_intra_doc_links)]

pub mod bar {
   pub struct Bar;
}

pub mod foo {
  use crate::bar;
  /// link to [bar::Bar]
  pub struct Foo;
}