blob: 9330107ac8dc77571b5abe2a11c7d59f796f89d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#[allow(unused_macros)]
macro_rules! foo {
($id:ident) => {
macro_rules! bar {
($id2:tt) => {
#[cfg(any(target_feature = $id2, target_feature = $id2, target_feature = $id2, target_feature = $id2, target_feature = $id2))]
fn $id() {}
};
}
};
}
fn main() {}
|