Skip to content

Commit 6307ecb

Browse files
Urgaupietroalbini
authored andcommitted
Add equivalent test in src/test/rustdoc
1 parent e05ee65 commit 6307ecb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/test/rustdoc/issue-89852.rs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// edition:2018
2+
3+
#![no_core]
4+
#![feature(no_core)]
5+
6+
// @count issue_89852/index.html '//*[@class="macro"]' 2
7+
// @has - '//*[@class="macro"]/@href' 'macro.repro.html'
8+
#[macro_export]
9+
macro_rules! repro {
10+
() => {};
11+
}
12+
13+
// @!has issue_89852/macro.repro.html '//*[@class="macro"]/@content' 'repro2'
14+
pub use crate::repro as repro2;

0 commit comments

Comments
 (0)