diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-12-16 17:59:07 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-12-16 17:59:07 +0100 |
| commit | c367cc3ef5648d5695fdb795cc66edbff88b4ce9 (patch) | |
| tree | 5d8bc6856784c51abd06884ac4f4140d993939e1 /tests/rustdoc-ui/doctest/comment-in-attr-134221-2.rs | |
| parent | 23839853425e8c0c80d0aadb32bf5b4ba1bdf64b (diff) | |
| download | rust-c367cc3ef5648d5695fdb795cc66edbff88b4ce9.tar.gz rust-c367cc3ef5648d5695fdb795cc66edbff88b4ce9.zip | |
Remove unneeded handling of backlines in doctest attributes
Diffstat (limited to 'tests/rustdoc-ui/doctest/comment-in-attr-134221-2.rs')
| -rw-r--r-- | tests/rustdoc-ui/doctest/comment-in-attr-134221-2.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/doctest/comment-in-attr-134221-2.rs b/tests/rustdoc-ui/doctest/comment-in-attr-134221-2.rs new file mode 100644 index 00000000000..8cdd665ff69 --- /dev/null +++ b/tests/rustdoc-ui/doctest/comment-in-attr-134221-2.rs @@ -0,0 +1,15 @@ +//@ compile-flags:--test --test-args --test-threads=1 +//@ failure-status: 101 +//@ normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR" +//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME" +//@ normalize-stdout-test: ".rs:\d+:\d+" -> ".rs:$$LINE:$$COL" + +//! ``` +#![doc = "#![all\ +ow(unused)]"] +//! ``` +//! +//! ``` +#![doc = r#"#![all\ +ow(unused)]"#] +//! ``` |
