Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
16
tests/rustdoc-json/primitives/primitive_overloading.rs
Normal file
16
tests/rustdoc-json/primitives/primitive_overloading.rs
Normal file
|
@ -0,0 +1,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 {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue