rust/tests/rustdoc-ui/intra-doc/reference-links.rs
2023-04-29 11:36:19 -05: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