]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/intra-doc/extern-crate.rs
Auto merge of #82624 - ojeda:rwlock-example-deadlock, r=JohnTitor
[rust.git] / src / test / rustdoc / intra-doc / extern-crate.rs
1 // aux-build:intra-link-extern-crate.rs
2
3 // When loading `extern crate` statements, we would pull in their docs at the same time, even
4 // though they would never actually get displayed. This tripped intra-doc-link resolution failures,
5 // for items that aren't under our control, and not actually getting documented!
6
7 #![deny(broken_intra_doc_links)]
8
9 extern crate inner;