about summary refs log tree commit diff
path: root/src/test/rustdoc-json/reexport/simple_private.rs
blob: 658b121e6ce97d46e1983b8e3ecfbe86272a7c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// edition:2018

#![no_core]
#![feature(no_core)]

// @!has simple_private.json "$.index[*][?(@.name=='inner')]"
mod inner {
    // @set pub_id = - "$.index[*][?(@.name=='Public')].id"
    pub struct Public;
}

// @has - "$.index[*][?(@.name=='simple_private')].inner.items[*]" $pub_id
pub use inner::Public;