Skip to content

Commit

Permalink
test(doc): no fallback marco resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanjoi committed Apr 27, 2023
1 parent 907daec commit 9156b03
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/rustdoc/issue-106142.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// @has 'issue_106142/a/index.html'
// @count 'issue_106142/a/index.html' '//ul[@class="item-table"]//li//a' 1

#![allow(rustdoc::broken_intra_doc_links)]

pub mod a {
/// [`m`]
pub fn f() {}

#[macro_export]
macro_rules! m {
() => {};
}
}

0 comments on commit 9156b03

Please sign in to comment.