mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00

Consider comments and bare delimiters the same as an "empty line" for purposes of hiding rendered code output of long multispans. This results in more aggressive shortening of rendered output without losing too much context, specially in `*.stderr` tests that have "hidden" comments.
30 lines
709 B
Plaintext
30 lines
709 B
Plaintext
error: unclosed quote string `"`
|
|
--> $DIR/custom_code_classes_in_docs-warning3.rs:8:1
|
|
|
|
|
LL | / /// ```{class="}
|
|
... |
|
|
LL | | /// main;
|
|
LL | | /// ```
|
|
| |_______^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/custom_code_classes_in_docs-warning3.rs:4:9
|
|
|
|
|
LL | #![deny(warnings)]
|
|
| ^^^^^^^^
|
|
= note: `#[deny(rustdoc::invalid_codeblock_attributes)]` implied by `#[deny(warnings)]`
|
|
|
|
error: unclosed quote string `"`
|
|
--> $DIR/custom_code_classes_in_docs-warning3.rs:8:1
|
|
|
|
|
LL | / /// ```{class="}
|
|
... |
|
|
LL | | /// main;
|
|
LL | | /// ```
|
|
| |_______^
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|