// run-rustfix #![deny(rustdoc::redundant_explicit_links)] pub fn dummy_target() {} /// [dummy_target] //~^ ERROR redundant explicit link target /// [`dummy_target`] //~^ ERROR redundant explicit link target /// /// [Vec] //~^ ERROR redundant explicit link target /// [`Vec`] //~^ ERROR redundant explicit link target /// [Vec] //~^ ERROR redundant explicit link target /// [`Vec`] //~^ ERROR redundant explicit link target /// [std::vec::Vec] //~^ ERROR redundant explicit link target /// [`std::vec::Vec`] //~^ ERROR redundant explicit link target /// [std::vec::Vec] //~^ ERROR redundant explicit link target /// [`std::vec::Vec`] //~^ ERROR redundant explicit link target /// /// [usize] //~^ ERROR redundant explicit link target /// [`usize`] //~^ ERROR redundant explicit link target /// [usize] //~^ ERROR redundant explicit link target /// [`usize`] //~^ ERROR redundant explicit link target /// [std::primitive::usize] //~^ ERROR redundant explicit link target /// [`std::primitive::usize`] //~^ ERROR redundant explicit link target /// [std::primitive::usize] //~^ ERROR redundant explicit link target /// [`std::primitive::usize`] //~^ ERROR redundant explicit link target /// /// [dummy_target] TEXT //~^ ERROR redundant explicit link target /// [`dummy_target`] TEXT //~^ ERROR redundant explicit link target pub fn should_warn_inline() {} /// [`Vec`](Vec) /// [`Vec`](std::vec::Vec) pub fn should_not_warn_inline() {}