mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 15:58:12 +00:00
Reorganize rustdoc tests into their correct subdirectories for better categorization: - Move lint-related tests to rustdoc-ui/lints/ - Move intra-doc link tests to rustdoc-ui/intra-doc/ - Move deref-related tests to rustdoc-ui/deref/ - Move doc-cfg test to rustdoc/doc-cfg/ This improves test organization and makes it easier to find tests related to specific rustdoc functionality.
15 lines
222 B
Rust
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() {}
|