Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
vendor
/
serde_json-1.0.108
/
src
/
features_check
/
mod.rs
blob: d12032cef8620935502b2f38426d1007474ceb46 [
file
] [
log
] [
blame
]
//! 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
;
}