rust/tests/ui/rustdoc/doc-primitive.rs
2024-02-29 14:43:43 +01:00

8 lines
132 B
Rust

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