mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
17 lines
345 B
Rust
17 lines
345 B
Rust
// compile-flags: --document-private-items
|
|
|
|
// Regression test for <https://github.com/rust-lang/rust/issues/98006>.
|
|
|
|
#![feature(rustc_attrs)]
|
|
#![feature(no_core)]
|
|
|
|
#![no_core]
|
|
|
|
// @has "$.index[*][?(@.name=='usize')]"
|
|
// @has "$.index[*][?(@.name=='prim')]"
|
|
|
|
#[rustc_doc_primitive = "usize"]
|
|
/// This is the built-in type `usize`.
|
|
mod prim {
|
|
}
|