blob: 11c48d075520fd5283b96435bd810380470c5da6 [file] [log] [blame]
#[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
}