rust/tests/rustdoc-ui/lints/inline-doc-link.rs

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

14 lines
257 B
Rust
Raw Normal View History

2023-07-20 14:54:58 -05:00
// Regression test for <https://github.com/rust-lang/rust/pull/113167>
//@ check-pass
#![deny(rustdoc::redundant_explicit_links)]
mod m {
pub enum ValueEnum {}
}
mod m2 {
/// [`ValueEnum`]
pub use crate::m::ValueEnum;
}
pub use m2::ValueEnum;