chromium/third_party/rust/chromium_crates_io/vendor/serde_json_lenient-0.2.1/src/features_check/mod.rs

//! Shows a user-friendly compiler error on incompatible selected features.

#[allow(unused_macros)]
macro_rules! hide_from_rustfmt {
    ($mod:item) => {
        $mod
    };
}

#[cfg(not(any(feature = "std", feature = "alloc")))]
hide_from_rustfmt! {
    mod error;
}