rust/tests/rustdoc-ui/reference-links.rs
2023-01-11 09:32:08 +00:00

7 lines
192 B
Rust

// Test that errors point to the reference, not to the title text.
#![deny(rustdoc::broken_intra_doc_links)]
//! Links to [a] [link][a]
//!
//! [a]: std::process::Comman
//~^ ERROR unresolved