]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-ui/ignore-block-help.stderr
Rollup merge of #100366 - davidtwco:translation-never-fail, r=compiler-errors
[rust.git] / src / test / rustdoc-ui / ignore-block-help.stderr
1 warning: could not parse code block as Rust code
2   --> $DIR/ignore-block-help.rs:3:5
3    |
4 LL |   /// ```ignore (to-prevent-tidy-error)
5    |  _____^
6 LL | | /// let heart = '❤️';
7 LL | | /// ```
8    | |_______^
9    |
10    = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default
11 help: `ignore` code blocks require valid Rust code for syntax highlighting; mark blocks that do not contain Rust code as text: ```text
12   --> $DIR/ignore-block-help.rs:3:5
13    |
14 LL | /// ```ignore (to-prevent-tidy-error)
15    |     ^^^
16    = note: error from rustc: character literal may only contain one codepoint
17
18 warning: 1 warning emitted
19