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

7 lines
137 B
Rust
Raw Normal View History

2023-03-21 10:44:06 -05:00
#[rustc_doc_primitive = "usize"]
//~^ ERROR `rustc_doc_primitive` is a rustc internal attribute
2021-07-10 21:06:10 -05:00
/// Some docs
mod usize {}
fn main() {}