blob: 354d76bc3c4333d6d6dc2797068c91c16fd44202 (
plain)
1
2
3
4
5
6
7
8
9
|
#![feature(doc_cfg)]
#[doc(cfg(), cfg(foo, bar))]
//~^ ERROR
//~^^ ERROR
#[doc(cfg(foo), cfg(bar))] // ok!
#[doc(cfg())] //~ ERROR
#[doc(cfg(foo, bar))] //~ ERROR
pub fn foo() {}
|