]> git.proxmox.com Git - rustc.git/blame - tests/rustdoc/inline_cross/macros.rs
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / rustdoc / inline_cross / macros.rs
CommitLineData
94b46f34
XL
1// aux-build:macros.rs
2// build-aux-docs
3
4#![feature(macro_test)]
94b46f34
XL
5#![crate_name = "foo"]
6
7extern crate macros;
8
9ffffee4 9// @has foo/index.html '//*[@class="item-name"]/span[@class="stab deprecated"]' \
136023e0 10// Deprecated
9ffffee4 11// @has - '//*[@class="item-name"]/span[@class="stab unstable"]' \
136023e0 12// Experimental
94b46f34
XL
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'
064997fb 18// @has - '//a/@href' '../src/macros/macros.rs.html#8'
94b46f34 19pub use macros::my_macro;