rust/tests/rustdoc-ui/ignore-block-help.rs
2023-01-11 09:32:08 +00:00

11 lines
281 B
Rust

// 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;