rust/tests/rustdoc-json/primitives/primitive_overloading.rs
2023-01-11 09:32:08 +00:00

17 lines
346 B
Rust

// compile-flags: --document-private-items
// Regression test for <https://github.com/rust-lang/rust/issues/98006>.
#![feature(rustdoc_internals)]
#![feature(no_core)]
#![no_core]
// @has "$.index[*][?(@.name=='usize')]"
// @has "$.index[*][?(@.name=='prim')]"
#[doc(primitive = "usize")]
/// This is the built-in type `usize`.
mod prim {
}