blob: a10c45933428dd64fdc72498e5ad3debe15917b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//! Helper module for exporting the `pattern_type` macro
/// Creates a pattern type.
/// ```ignore (cannot test this from within core yet)
/// type Positive = std::pat::pattern_type!(i32 is 1..);
/// ```
#[macro_export]
#[rustc_builtin_macro(pattern_type)]
#[unstable(feature = "core_pattern_type", issue = "none")]
macro_rules! pattern_type {
($($arg:tt)*) => {
/* compiler built-in */
};
}
|