rust/tests/ui/rustdoc/feature-gate-doc_primitive.rs

7 lines
137 B
Rust

#[rustc_doc_primitive = "usize"]
//~^ ERROR `rustc_doc_primitive` is a rustc internal attribute
/// Some docs
mod usize {}
fn main() {}