blob: 8570252c44934c232ca2335768f68278b18f2c76 [file] [log] [blame] [edit]
#![crate_type = "lib"]
#![doc(test)]
//~^ ERROR `#[doc(test(...)]` takes a list of attributes
#![doc(test = "hello")]
//~^ ERROR `#[doc(test(...)]` takes a list of attributes
#![doc(test(a))]
//~^ ERROR unknown `doc(test)` attribute `a`
pub fn foo() {}