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