rust/tests/rustdoc-ui/lints/redundant_explicit_links-utf8.rs

19 lines
337 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;