]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/inline_cross/macros.rs
d5b0de5725bce4f32502d5a7be169517a361cc67
[rust.git] / tests / rustdoc / inline_cross / macros.rs
1 // aux-build:macros.rs
2 // build-aux-docs
3
4 #![feature(macro_test)]
5 #![crate_name = "foo"]
6
7 extern crate macros;
8
9 // @has foo/index.html '//*[@class="item-left unstable deprecated"]/span[@class="stab deprecated"]' \
10 //         Deprecated
11 // @has - '//*[@class="item-left unstable deprecated"]/span[@class="stab unstable"]' \
12 //         Experimental
13
14 // @has foo/macro.my_macro.html
15 // @has - '//*[@class="docblock"]' 'docs for my_macro'
16 // @has - '//*[@class="stab deprecated"]' 'Deprecated since 1.2.3: text'
17 // @has - '//*[@class="stab unstable"]' 'macro_test'
18 // @has - '//a/@href' '../src/macros/macros.rs.html#8'
19 pub use macros::my_macro;