rust/tests/ui/rustdoc/doc-primitive.rs

8 lines
132 B
Rust

#![deny(invalid_doc_attributes)]
#[doc(primitive = "foo")]
//~^ ERROR unknown `doc` attribute `primitive`
mod bar {}
fn main() {}