rust/tests/ui/doc/footnote_issue_13183.rs
2024-08-08 19:13:50 +02:00

10 lines
342 B
Rust

// This is a regression test for <https://github.com/rust-lang/rust-clippy/issues/13183>.
// It should not warn on missing backticks on footnote references.
#![warn(clippy::doc_markdown)]
// Should not warn!
//! Here's a footnote[^example_footnote_identifier]
//!
//! [^example_footnote_identifier]: This is merely an example.
fn main() {}