rust/tests/rustdoc-ui/lints/redundant_explicit_links-ut...

19 lines
338 B
Rust

//@ check-pass
/// [`…foo`] [`…bar`] [`Err`]
pub struct Broken {}
/// [`…`] [`…`] [`Err`]
pub struct Broken2 {}
/// [`…`][…] [`…`][…] [`Err`]
pub struct Broken3 {}
/// […………………………][Broken3]
pub struct Broken4 {}
/// [Broken3][…………………………]
pub struct Broken5 {}
pub struct Err;