summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-json/primitive_overloading.rs
blob: 56b35cd14c0f2677b23d1dcfda5b4d8ccc839f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 {
}