Sign in
◑
Theme
rust
/
rust
/
32ce99c38ee6a9d4a397e97a9017d69052d63d0f
/
.
/
tests
/
ui
/
rustdoc
/
cfg-rustdoc.rs
blob: 11c48d075520fd5283b96435bd810380470c5da6 [
file
]
#[
cfg
(
doc
)]
//~ NOTE the item is gated here
pub
struct
Foo
;
//~ NOTE found an item that was configured out
fn
main
()
{
let
f
=
Foo
;
//~ ERROR cannot find value `Foo` in this scope
//~^ NOTE not found in this scope
}