#![deny(intra_doc_resolution_failure)]
This commit is contained in:
parent
432b0431ab
commit
769acbaca0
8 changed files with 12 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
// aux-build:additional_doc.rs
|
||||
// build-aux-docs
|
||||
#![deny(intra_doc_resolution_failure)]
|
||||
|
||||
extern crate rand;
|
||||
|
||||
// @has 'additional_doc/trait.Rng.html' '//a[@href="../additional_doc/trait.Rng.html"]' 'Rng'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#![crate_name = "rand"]
|
||||
#![deny(intra_doc_resolution_failure)]
|
||||
|
||||
pub trait RngCore {}
|
||||
/// Rng extends [`RngCore`].
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#![crate_name = "a"]
|
||||
#![deny(intra_doc_resolution_failure)]
|
||||
|
||||
pub struct Foo;
|
||||
|
||||
/// Link to [Foo]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#![crate_name = "a"]
|
||||
#![deny(intra_doc_resolution_failure)]
|
||||
|
||||
pub mod bar {
|
||||
pub struct Bar;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#![crate_name = "bar"]
|
||||
#![deny(intra_doc_resolution_failure)]
|
||||
|
||||
pub trait Foo {
|
||||
/// [`Bar`] [`Baz`]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
// aux-build:intra-doc-basic.rs
|
||||
// build-aux-docs
|
||||
#![deny(intra_doc_resolution_failure)]
|
||||
|
||||
// from https://github.com/rust-lang/rust/issues/65983
|
||||
extern crate a;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
// aux-build:submodule-inner.rs
|
||||
// build-aux-docs
|
||||
#![deny(intra_doc_resolution_failure)]
|
||||
|
||||
extern crate a;
|
||||
|
||||
// @has 'submodule_inner/struct.Foo.html' '//a[@href="../a/bar/struct.Bar.html"]' 'Bar'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
// aux-build:submodule-outer.rs
|
||||
// edition:2018
|
||||
#![deny(intra_doc_resolution_failure)]
|
||||
|
||||
extern crate bar as bar_;
|
||||
|
||||
// from https://github.com/rust-lang/rust/issues/60883
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue