2018-06-06 03:13:55 +00:00
|
|
|
// aux-build:macros.rs
|
|
|
|
// build-aux-docs
|
|
|
|
|
|
|
|
#![feature(macro_test)]
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
extern crate macros;
|
|
|
|
|
2023-02-08 02:00:18 +00:00
|
|
|
// @has foo/index.html '//*[@class="item-name"]/span[@class="stab deprecated"]' \
|
2021-06-24 12:30:01 +00:00
|
|
|
// Deprecated
|
2023-02-08 02:00:18 +00:00
|
|
|
// @has - '//*[@class="item-name"]/span[@class="stab unstable"]' \
|
2021-06-24 12:30:01 +00:00
|
|
|
// Experimental
|
2018-06-06 03:13:55 +00:00
|
|
|
|
|
|
|
// @has foo/macro.my_macro.html
|
|
|
|
// @has - '//*[@class="docblock"]' 'docs for my_macro'
|
|
|
|
// @has - '//*[@class="stab deprecated"]' 'Deprecated since 1.2.3: text'
|
|
|
|
// @has - '//*[@class="stab unstable"]' 'macro_test'
|
2022-02-13 15:27:59 +00:00
|
|
|
// @has - '//a/@href' '../src/macros/macros.rs.html#8'
|
2018-06-06 03:13:55 +00:00
|
|
|
pub use macros::my_macro;
|