about summary refs log tree commit diff
path: root/tests/rustdoc/decl_macro.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-10-29 02:34:25 +0100
committerLeón Orell Valerian Liehr <me@fmease.dev>2024-11-13 16:03:57 +0100
commit9016711bf1f43db68f0ba51a9852b65a2270ae61 (patch)
tree907224bb7632d344311c227079f71c0769f8a3b8 /tests/rustdoc/decl_macro.rs
parent143ce0920a2307b19831160a01f06f107610f1b2 (diff)
downloadrust-9016711bf1f43db68f0ba51a9852b65a2270ae61.tar.gz
rust-9016711bf1f43db68f0ba51a9852b65a2270ae61.zip
rustdoc: Treat decl macros like other items
Diffstat (limited to 'tests/rustdoc/decl_macro.rs')
-rw-r--r--tests/rustdoc/decl_macro.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc/decl_macro.rs b/tests/rustdoc/decl_macro.rs
index da471e7c224..040859baffb 100644
--- a/tests/rustdoc/decl_macro.rs
+++ b/tests/rustdoc/decl_macro.rs
@@ -48,6 +48,8 @@ mod a {
         }
         mod c {
             //@ has decl_macro/a/b/c/macro.by_example_vis_named.html //pre 'pub(in a) macro by_example_vis_named($foo:expr) {'
+            // Regression test for <https://github.com/rust-lang/rust/issues/83000>:
+            //@ has - '//pre[@class="rust item-decl"]//a[@class="mod"]/@href' '../../index.html'
             pub(in a) macro by_example_vis_named {
                 ($foo:expr) => {}
             }