rust/tests/rustdoc-ui/redundant-explicit-links-123677.rs
2024-04-13 19:32:39 -07:00

15 lines
222 B
Rust

//@ check-pass
#![deny(rustdoc::redundant_explicit_links)]
mod bar {
/// [`Rc`](std::rc::Rc)
pub enum Baz {}
}
pub use bar::*;
use std::rc::Rc;
/// [`Rc::allocator`] [foo](std::rc::Rc)
pub fn winit_runner() {}