summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/doc-primitive.rs
blob: 4336961e3b5e091d070c0bcadded5a19ce473144 (plain)
1
2
3
4
5
6
7
8
#![deny(invalid_doc_attributes)]

#[doc(primitive = "foo")]
//~^ ERROR unknown `doc` attribute `primitive`
//~| WARN
mod bar {}

fn main() {}