]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/intra-link-extern-crate.rs
Auto merge of #52332 - zackmdavis:dead_code_lint_should_say_2_electric_boogaloo,...
[rust.git] / src / test / rustdoc / intra-link-extern-crate.rs
1 // Copyright 2018 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 // aux-build:intra-link-extern-crate.rs
12
13 // When loading `extern crate` statements, we would pull in their docs at the same time, even
14 // though they would never actually get displayed. This tripped intra-doc-link resolution failures,
15 // for items that aren't under our control, and not actually getting documented!
16
17 #![deny(intra_doc_link_resolution_failure)]
18
19 extern crate inner;