diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-12-13 18:18:19 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-12-13 18:48:33 +0000 |
| commit | 9f1044ef76de2ae88ac5c38a27b2bd49f5507d94 (patch) | |
| tree | 48e12299f5c722e7a993e91069772592201b8c15 /tests/rustdoc-ui/custom_code_classes_in_docs-warning3.stderr | |
| parent | ad82d9f6986c9801b1d6a60a7f86c71dc16c112f (diff) | |
| download | rust-9f1044ef76de2ae88ac5c38a27b2bd49f5507d94.tar.gz rust-9f1044ef76de2ae88ac5c38a27b2bd49f5507d94.zip | |
Account for `///` when rendering multiline spans
Don't consider `///` and `//!` docstrings to be empty for the purposes of multiline span rendering.
Diffstat (limited to 'tests/rustdoc-ui/custom_code_classes_in_docs-warning3.stderr')
| -rw-r--r-- | tests/rustdoc-ui/custom_code_classes_in_docs-warning3.stderr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/custom_code_classes_in_docs-warning3.stderr b/tests/rustdoc-ui/custom_code_classes_in_docs-warning3.stderr index a72e21fed85..385b2ccacc1 100644 --- a/tests/rustdoc-ui/custom_code_classes_in_docs-warning3.stderr +++ b/tests/rustdoc-ui/custom_code_classes_in_docs-warning3.stderr @@ -2,7 +2,10 @@ error: unclosed quote string `"` --> $DIR/custom_code_classes_in_docs-warning3.rs:8:1 | LL | / /// ```{class="} +LL | | /// main; +LL | | /// ``` ... | +LL | | /// main; LL | | /// ``` | |_______^ | @@ -17,7 +20,10 @@ error: unclosed quote string `"` --> $DIR/custom_code_classes_in_docs-warning3.rs:8:1 | LL | / /// ```{class="} +LL | | /// main; +LL | | /// ``` ... | +LL | | /// main; LL | | /// ``` | |_______^ | |
