rust/tests/rustdoc-ui/unportable-markdown.stderr
Trevor Gross 1eb1e1816d Adjust expected errors for a rustdoc test
`pulldown-cmark` has slightly different behavior between 0.11.0 and
0.11.2, causing one of the `unportable-markdown` tests to no longer emit
an error. Per [1], remove the error annotation and bless the output.

[1]: https://github.com/rust-lang/rust/pull/128722#issuecomment-2295522292
2024-08-18 22:52:54 -05:00

24 lines
529 B
Plaintext

error: unportable markdown
--> $DIR/unportable-markdown.rs:48:5
|
LL | /// >bar
| ^
|
= help: confusing block quote with no space after the `>` marker
note: the lint level is defined here
--> $DIR/unportable-markdown.rs:8:9
|
LL | #![deny(rustdoc::unportable_markdown)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: if the quote is intended, add a space
|
LL | /// > bar
| +
help: if it should not be a quote, escape it
|
LL | /// \>bar
| +
error: aborting due to 1 previous error