Skip to content

Commit

Permalink
add intra-doc link test to proc-macro test
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus committed Jan 22, 2019
1 parent b154234 commit b876694
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/rustdoc/proc-macro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b876694

Please sign in to comment.