1 // https://github.com/rust-lang/rust/issues/100252
7 // @set baz = import_from_private.json "$.index[*][?(@.kind=='struct')].id"
9 // @set impl = - "$.index[*][?(@.kind=='impl')].id"
11 // @set doit = - "$.index[*][?(@.kind=='method')].id"
16 // @set import = - "$.index[*][?(@.kind=='import')].id"
19 // FIXME(adotinthevoid): Use hasexact once #99474 lands
21 // @has - "$.index[*][?(@.kind=='module')].inner.items[*]" $import
22 // @is - "$.index[*][?(@.kind=='import')].inner.id" $baz
23 // @has - "$.index[*][?(@.kind=='struct')].inner.impls[*]" $impl
24 // @has - "$.index[*][?(@.kind=='impl')].inner.items[*]" $doit