rust/tests/rustdoc/intra-doc/extern-crate.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
381 B
Rust
Raw Permalink Normal View History

//@ 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;