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
345 B
Rust
Raw Normal View History

2022-06-17 14:41:26 +02:00
// compile-flags: --document-private-items
// Regression test for <https://github.com/rust-lang/rust/issues/98006>.
2023-03-21 16:44:06 +01:00
#![feature(rustc_attrs)]
2022-06-17 14:41:26 +02:00
#![feature(no_core)]
#![no_core]
2022-08-17 12:55:09 +02:00
// @has "$.index[*][?(@.name=='usize')]"
// @has "$.index[*][?(@.name=='prim')]"
2022-06-17 14:41:26 +02:00
2023-03-21 16:44:06 +01:00
#[rustc_doc_primitive = "usize"]
2022-06-17 14:41:26 +02:00
/// This is the built-in type `usize`.
mod prim {
}