Skip to content

Commit b876694

Browse files
add intra-doc link test to proc-macro test
1 parent b154234 commit b876694

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/rustdoc/proc-macro.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
#![crate_type="proc-macro"]
55
#![crate_name="some_macros"]
66

7+
// @has some_macros/index.html
8+
// @has - '//a/[@href="attr.some_proc_attr.html"]' 'some_proc_attr'
9+
10+
//! include a link to [some_proc_attr] to make sure it works.
11+
712
extern crate proc_macro;
813

914
use proc_macro::TokenStream;

0 commit comments

Comments
 (0)