2021-06-21 15:42:31 -05:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
|
|
|
|
//! [foo!()]
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has foo/index.html '//a[@href="macro.foo.html"]' 'foo!()'
|
2021-06-21 15:42:31 -05:00
|
|
|
|
|
|
|
//! [foo!{}]
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="macro.foo.html"]' 'foo!{}'
|
2021-06-21 15:42:31 -05:00
|
|
|
|
|
|
|
//! [foo![]](foo![])
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="macro.foo.html"]' 'foo![]'
|
2021-06-21 15:42:31 -05:00
|
|
|
|
|
|
|
//! [foo1](foo!())
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="macro.foo.html"]' 'foo1'
|
2021-06-21 15:42:31 -05:00
|
|
|
|
|
|
|
//! [foo2](foo!{})
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="macro.foo.html"]' 'foo2'
|
2021-06-21 15:42:31 -05:00
|
|
|
|
|
|
|
//! [foo3](foo![])
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has - '//a[@href="macro.foo.html"]' 'foo3'
|
2021-06-21 15:42:31 -05:00
|
|
|
|
|
|
|
#[macro_export]
|
|
|
|
macro_rules! foo {
|
|
|
|
() => {};
|
|
|
|
}
|