mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
18 lines
284 B
Rust
18 lines
284 B
Rust
//@ compile-flags: --document-private-items
|
|
|
|
#![deny(rustdoc::redundant_explicit_links)]
|
|
|
|
mod webdavfs {
|
|
pub struct A;
|
|
pub struct B;
|
|
}
|
|
|
|
/// [`Vfs`][crate::Vfs]
|
|
pub use webdavfs::A;
|
|
//~^^ error: redundant explicit link target
|
|
|
|
/// [`Vfs`]
|
|
pub use webdavfs::B;
|
|
|
|
pub struct Vfs;
|