Skip to content

Commit d37f369

Browse files
check for proc-macros in "all items"
1 parent 967a6b0 commit d37f369

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test/rustdoc/proc-macro.rs

+8
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ use proc_macro::TokenStream;
2323
// @has - '//h2' 'Derive Macros'
2424
// @!has - '//h2' 'Functions'
2525

26+
// @has some_macros/all.html
27+
// @has - '//a[@href="macro.some_proc_macro.html"]' 'some_proc_macro'
28+
// @has - '//a[@href="attr.some_proc_attr.html"]' 'some_proc_attr'
29+
// @has - '//a[@href="derive.SomeDerive.html"]' 'SomeDerive'
30+
// @!has - '//a/@href' 'fn.some_proc_macro.html'
31+
// @!has - '//a/@href' 'fn.some_proc_attr.html'
32+
// @!has - '//a/@href' 'fn.some_derive.html'
33+
2634
// @has some_macros/index.html '//a/@href' 'macro.some_proc_macro.html'
2735
// @!has - '//a/@href' 'fn.some_proc_macro.html'
2836
// @has some_macros/macro.some_proc_macro.html

0 commit comments

Comments
 (0)