Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
21
tests/rustdoc-json/stripped_modules.rs
Normal file
21
tests/rustdoc-json/stripped_modules.rs
Normal file
|
@ -0,0 +1,21 @@
|
|||
#![no_core]
|
||||
#![feature(no_core)]
|
||||
|
||||
// @!has "$.index[*][?(@.name=='no_pub_inner')]"
|
||||
mod no_pub_inner {
|
||||
fn priv_inner() {}
|
||||
}
|
||||
|
||||
// @!has "$.index[*][?(@.name=='pub_inner_unreachable')]"
|
||||
mod pub_inner_unreachable {
|
||||
// @!has "$.index[*][?(@.name=='pub_inner_1')]"
|
||||
pub fn pub_inner_1() {}
|
||||
}
|
||||
|
||||
// @!has "$.index[*][?(@.name=='pub_inner_reachable')]"
|
||||
mod pub_inner_reachable {
|
||||
// @has "$.index[*][?(@.name=='pub_inner_2')]"
|
||||
pub fn pub_inner_2() {}
|
||||
}
|
||||
|
||||
pub use pub_inner_reachable::pub_inner_2;
|
Loading…
Add table
Add a link
Reference in a new issue