core/
pat.rs

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