add intra-doc link test to proc-macro test

This commit is contained in:
QuietMisdreavus 2019-01-22 15:44:19 -06:00
parent b1542341da
commit b876694734
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@
#![crate_type="proc-macro"]
#![crate_name="some_macros"]
// @has some_macros/index.html
// @has - '//a/[@href="attr.some_proc_attr.html"]' 'some_proc_attr'
//! include a link to [some_proc_attr] to make sure it works.
extern crate proc_macro;
use proc_macro::TokenStream;