]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/inline_local/macro_by_example.rs
Update unsuspicious file list
[rustc.git] / src / test / rustdoc / inline_local / macro_by_example.rs
CommitLineData
0731742a
XL
1/// docs for foo
2#[deprecated(since = "1.2.3", note = "text")]
3#[macro_export]
4macro_rules! foo {
5 ($($tt:tt)*) => {}
6}
7
8// @has macro_by_example/macros/index.html
9pub mod macros {
f2b60f7d 10 // @!hasraw - 'pub use foo as bar;'
0731742a
XL
11 // @has macro_by_example/macros/macro.bar.html
12 // @has - '//*[@class="docblock"]' 'docs for foo'
13 // @has - '//*[@class="stab deprecated"]' 'Deprecated since 1.2.3: text'
14 // @has - '//a/@href' 'macro_by_example.rs.html#4-6'
15 #[doc(inline)]
16 pub use foo as bar;
17}