rust/tests/rustdoc-json/primitives/primitive_overloading.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
346 B
Rust
Raw Normal View History

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