about summary refs log tree commit diff
path: root/tests/rustdoc/ice-nested-macro-rules-47639.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-11-20 11:50:18 -0700
committerMichael Howell <michael@notriddle.com>2023-11-20 11:50:18 -0700
commit0f466b06d197729ebeeb72a9503f0a878749ec87 (patch)
treed2b01d50ecca72403516f436c048208fade45cd3 /tests/rustdoc/ice-nested-macro-rules-47639.rs
parent46ecc10c6951a2a0e52d93fe5d3acae9743e3ab9 (diff)
downloadrust-0f466b06d197729ebeeb72a9503f0a878749ec87.tar.gz
rust-0f466b06d197729ebeeb72a9503f0a878749ec87.zip
rustdoc: rename `issue-\d+.rs` tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/ice-nested-macro-rules-47639.rs')
-rw-r--r--tests/rustdoc/ice-nested-macro-rules-47639.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc/ice-nested-macro-rules-47639.rs b/tests/rustdoc/ice-nested-macro-rules-47639.rs
new file mode 100644
index 00000000000..4b3456b86c5
--- /dev/null
+++ b/tests/rustdoc/ice-nested-macro-rules-47639.rs
@@ -0,0 +1,6 @@
+// This should not ICE
+pub fn test() {
+    macro_rules! foo {
+        () => ()
+    }
+}