# mod.rs - source
Source of the Rust file `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/features_check/mod.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13

    //! 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;
    }