mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
add intra-doc link test to proc-macro test
This commit is contained in:
parent
b1542341da
commit
b876694734
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user