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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
132 B
Rust
Raw Normal View History

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