rust/tests/rustdoc-ui/intra-doc/reference-links.rs

7 lines
192 B
Rust
Raw Normal View History

// 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