about summary refs log tree commit diff
path: root/tests/rustdoc-json/structs/with_primitives.rs
blob: 4e856bda296c52aa16582ef04a131cc6bb32b6d1 (plain)
1
2
3
4
5
6
7
8
9
10
//@ is "$.index[?(@.name=='WithPrimitives')].visibility" \"public\"
//@ has "$.index[?(@.name=='WithPrimitives')].inner.struct"
//@ is "$.index[?(@.name=='WithPrimitives')].inner.struct.generics.params[0].name" \"\'a\"
//@ is "$.index[?(@.name=='WithPrimitives')].inner.struct.generics.params[0].kind.lifetime.outlives" []
//@ is "$.index[?(@.name=='WithPrimitives')].inner.struct.kind.plain.has_stripped_fields" true
//@ is "$.index[?(@.name=='WithPrimitives')].inner.struct.kind.plain.fields" []
pub struct WithPrimitives<'a> {
    num: u32,
    s: &'a str,
}