summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/feature-gate-doc_primitive.rs
blob: 78fcd90752e46d9cf494281321ecc94e94ba9c78 (plain)
1
2
3
4
5
6
#[rustc_doc_primitive = "usize"]
//~^ ERROR `rustc_doc_primitive` is a rustc internal attribute
/// Some docs
mod usize {}

fn main() {}