mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
Add extra "broken_footnote" lint ui test
This commit is contained in:
committed by
Guillaume Gomez
parent
4420714ad1
commit
92dcc5b490
@@ -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
|
||||
//!
|
||||
//! ```
|
||||
|
||||
Reference in New Issue
Block a user