summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/doctest-markdown-inline-parse-23744.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:25:56 +0000
commit018c4950b9406055dec02ef0fb52f132e2bb1e2c (patch)
treea835ebdf2088ef88fa681f8fad45f09922c1ae9a /tests/rustdoc/doctest-markdown-inline-parse-23744.rs
parentAdding debian version 1.75.0+dfsg1-5. (diff)
downloadrustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.tar.xz
rustc-018c4950b9406055dec02ef0fb52f132e2bb1e2c.zip
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/rustdoc/doctest-markdown-inline-parse-23744.rs')
-rw-r--r--tests/rustdoc/doctest-markdown-inline-parse-23744.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/rustdoc/doctest-markdown-inline-parse-23744.rs b/tests/rustdoc/doctest-markdown-inline-parse-23744.rs
deleted file mode 100644
index 128e2daba..000000000
--- a/tests/rustdoc/doctest-markdown-inline-parse-23744.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// compile-flags:--test
-
-// https://github.com/rust-lang/rust/issues/23744
-#![crate_name="issue_23744"]
-
-/// Example of rustdoc incorrectly parsing <code>```rust,should_panic</code>.
-///
-/// ```should_panic
-/// fn main() { panic!("fee"); }
-/// ```
-///
-/// ```rust,should_panic
-/// fn main() { panic!("fum"); }
-/// ```
-pub fn foo() {}