about summary refs log tree commit diff
path: root/tests/rustdoc/src-link-external-macro-26606.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-10-04 12:58:06 -0700
committerMichael Howell <michael@notriddle.com>2023-10-04 12:58:06 -0700
commit9266270ef55e3138de0c58b9cd4c0949aa2eb04c (patch)
tree689bfe5f58e854b6ee75df652a8a917b7aa34e3e /tests/rustdoc/src-link-external-macro-26606.rs
parenta198aff4a4b1b83476497438cfc4771fb19c7bc4 (diff)
downloadrust-9266270ef55e3138de0c58b9cd4c0949aa2eb04c.tar.gz
rust-9266270ef55e3138de0c58b9cd4c0949aa2eb04c.zip
Rename issue-\d+.rs tests to have meaningful names
Diffstat (limited to 'tests/rustdoc/src-link-external-macro-26606.rs')
-rw-r--r--tests/rustdoc/src-link-external-macro-26606.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rustdoc/src-link-external-macro-26606.rs b/tests/rustdoc/src-link-external-macro-26606.rs
new file mode 100644
index 00000000000..4cd735b3871
--- /dev/null
+++ b/tests/rustdoc/src-link-external-macro-26606.rs
@@ -0,0 +1,13 @@
+// aux-build:issue-26606-macro.rs
+// ignore-cross-compile
+// build-aux-docs
+
+#![crate_name="issue_26606"]
+
+// @has issue_26606_macro/macro.make_item.html
+#[macro_use]
+extern crate issue_26606_macro;
+
+// @has issue_26606/constant.FOO.html
+// @has - '//a[@href="../src/issue_26606/src-link-external-macro-26606.rs.html#13"]' 'source'
+make_item!(FOO);