1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#![no_std]
#![cfg_attr(yolo_rustc_bootstrap, feature(allow_internal_unstable))]

yolo_rustc_bootstrap::do_crimes!();

#[macro_export]
#[cfg_attr(yolo_rustc_bootstrap, allow_internal_unstable(allow_internal_unstable))]
macro_rules! nightly_crimes {
    (
        #![feature($($a:ident),* $(,)?)]
        #![feature($($b:ident),* $(,)?)]
        $($code:tt)*
    ) => (
        $crate::nightly_crimes! {
            #![feature($($a,)*$($b),*)]
            $($code)*
        }
    );
    (
        #![feature($($feature:ident),* $(,)?)]
        $($code:tt)*
    ) => (
        #[allow_internal_unstable($($feature,)*)]
        macro_rules! horrible_crimes { () => ( $($code)* ); }
        horrible_crimes! {}
    );
}