rust/tests/ui/rustdoc/cfg-rustdoc.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
70 B
Rust
Raw Normal View History

#[cfg(doc)]
2019-09-06 03:51:52 -05:00
pub struct Foo;
fn main() {
let f = Foo; //~ ERROR
}