rust/src/test/rustdoc-ui/reference-links.rs

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