summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/ignore-block-help.rs
blob: 86f6a2868fb56af1107918665b267b9c99bb40c4 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

/// ```ignore (to-prevent-tidy-error)
/// let heart = '❤️';
/// ```
//~^^^ WARNING could not parse code block
//~| NOTE on by default
//~| NOTE character literal may only contain one codepoint
//~| HELP `ignore` code blocks require valid Rust code
pub struct X;