mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
add a macro to the intra-links test
This commit is contained in:
parent
00ce770e34
commit
a3d71d7405
@ -17,16 +17,23 @@
|
||||
// @has - '//a/@href' '../intra_links/fn.this_function.html'
|
||||
// @has - '//a/@href' '../intra_links/constant.THIS_CONST.html'
|
||||
// @has - '//a/@href' '../intra_links/static.THIS_STATIC.html'
|
||||
// @has - '//a/@href' '../intra_links/macro.this_macro.html'
|
||||
//! In this crate we would like to link to:
|
||||
//!
|
||||
//! * [`ThisType`](struct ::ThisType)
|
||||
//! * [`ThisEnum`](enum ::ThisEnum)
|
||||
//! * [`ThisTrait`](trait ::ThisTrait)
|
||||
//! * [`ThisAlias`](type ::ThisAlias)
|
||||
//! * [`ThisUnion`](union ::ThisUnion)
|
||||
//! * [`this_function`](::this_function())
|
||||
//! * [`THIS_CONST`](const ::THIS_CONST)
|
||||
//! * [`THIS_STATIC`](static ::THIS_STATIC)
|
||||
//! * [`ThisType`](ThisType)
|
||||
//! * [`ThisEnum`](ThisEnum)
|
||||
//! * [`ThisTrait`](ThisTrait)
|
||||
//! * [`ThisAlias`](ThisAlias)
|
||||
//! * [`ThisUnion`](ThisUnion)
|
||||
//! * [`this_function`](this_function)
|
||||
//! * [`THIS_CONST`](THIS_CONST)
|
||||
//! * [`THIS_STATIC`](THIS_STATIC)
|
||||
//! * [`this_macro`](this_macro!)
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! this_macro {
|
||||
() => {};
|
||||
}
|
||||
|
||||
pub struct ThisType;
|
||||
pub enum ThisEnum { ThisVariant, }
|
||||
|
Loading…
Reference in New Issue
Block a user