rust/tests/rustdoc/intra-doc/extern-crate.rs
2023-01-11 09:32:08 +00:00

10 lines
380 B
Rust

// aux-build:intra-link-extern-crate.rs
// When loading `extern crate` statements, we would pull in their docs at the same time, even
// though they would never actually get displayed. This tripped intra-doc-link resolution failures,
// for items that aren't under our control, and not actually getting documented!
#![deny(rustdoc::broken_intra_doc_links)]
extern crate inner;