about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/doc/footnote_issue_13183.rs
blob: dbb01bd5155beee9b035d8f8eec9e876b97aaac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ check-pass
// 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() {}