mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 00:49:30 +00:00
10 lines
342 B
Rust
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() {}
|