diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-12-16 13:59:41 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-12-16 13:59:41 +0100 |
| commit | 23839853425e8c0c80d0aadb32bf5b4ba1bdf64b (patch) | |
| tree | b498ca137f7866504569ecf420714641fb1ec6c0 /tests/rustdoc-ui/doctest | |
| parent | 9c4a61ff52a635ef96bd92a2ff1fad4a8bb2ce73 (diff) | |
| download | rust-23839853425e8c0c80d0aadb32bf5b4ba1bdf64b.tar.gz rust-23839853425e8c0c80d0aadb32bf5b4ba1bdf64b.zip | |
Also handle cases where attributes are unclosed
Diffstat (limited to 'tests/rustdoc-ui/doctest')
| -rw-r--r-- | tests/rustdoc-ui/doctest/comment-in-attr-134221.rs | 4 | ||||
| -rw-r--r-- | tests/rustdoc-ui/doctest/comment-in-attr-134221.stdout | 18 |
2 files changed, 20 insertions, 2 deletions
diff --git a/tests/rustdoc-ui/doctest/comment-in-attr-134221.rs b/tests/rustdoc-ui/doctest/comment-in-attr-134221.rs index fa8cd106659..3689ebe166a 100644 --- a/tests/rustdoc-ui/doctest/comment-in-attr-134221.rs +++ b/tests/rustdoc-ui/doctest/comment-in-attr-134221.rs @@ -20,4 +20,8 @@ foo, )] ``` + +```rust +#