Sign in
fuchsia
/
fuchsia
/
18b6bd1f30e7eb7858edc518e937b11501bbe902
/
.
/
third_party
/
rust_crates
/
vendor
/
serde_json
/
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
;
}