Sign in
fuchsia
/
third_party
/
rust
/
7e8a8c9cb152530c9833a389e7a7d79c7db693cc
/
.
/
tests
/
rustdoc-ui
/
cfg-boolean-literal.rs
blob: 74808d066c7152adc11a28d5ed748977a0b0ed18 [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
doc_cfg
)]
#[
doc
(
cfg
(
false
))]
pub
fn
foo
()
{}
#[
doc
(
cfg
(
true
))]
pub
fn
bar
()
{}
#[
doc
(
cfg
(
any
(
true
)))]
pub
fn
zoo
()
{}
#[
doc
(
cfg
(
all
(
true
)))]
pub
fn
toy
()
{}
#[
doc
(
cfg
(
not
(
true
)))]
pub
fn
nay
()
{}