Add extra "broken_footnote" lint ui test

This commit is contained in:
Guillaume Gomez
2026-03-12 21:04:55 +01:00
committed by Guillaume Gomez
parent 4420714ad1
commit 92dcc5b490

View File

@@ -5,3 +5,12 @@
//! [^1]: footnote defined
//~^^^ ERROR: no footnote definition matching this footnote
//~| ERROR: no footnote definition matching this footnote
// Should not lint.
//! foo[^1]
//!
//! ```
//!
//! [^1]: bar
//!
//! ```