1 //! Shows a user-friendly compiler error on incompatible selected features. 2 3 #[allow(unused_macros)] 4 macro_rules! hide_from_rustfmt { 5 ($mod:item) => { 6 $mod 7 }; 8 } 9 10 #[cfg(not(any(feature = "std", feature = "alloc")))] 11 hide_from_rustfmt! { 12 mod error; 13 } 14