summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/invalid-cfg.rs
blob: d237b8605c068a0614fda35c931d35c36452fc78 (plain)
1
2
3
4
#![feature(doc_cfg)]
#[doc(cfg = "x")] //~ ERROR not followed by parentheses
#[doc(cfg(x, y))] //~ ERROR multiple `cfg` predicates
struct S {}