2 #![deny(invalid_doc_attributes)]
5 //~^ ERROR `#[doc(test(...)]` takes a list of attributes
6 //~^^ WARN this was previously accepted by the compiler
7 #![doc(test = "hello")]
8 //~^ ERROR `#[doc(test(...)]` takes a list of attributes
9 //~^^ WARN this was previously accepted by the compiler
11 //~^ ERROR unknown `doc(test)` attribute `a`
12 //~^^ WARN this was previously accepted by the compiler