]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-json/structs/with_primitives.rs
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / rustdoc-json / structs / with_primitives.rs
1 // @is "$.index[*][?(@.name=='WithPrimitives')].visibility" \"public\"
2 // @is "$.index[*][?(@.name=='WithPrimitives')].kind" \"struct\"
3 // @is "$.index[*][?(@.name=='WithPrimitives')].inner.generics.params[0].name" \"\'a\"
4 // @is "$.index[*][?(@.name=='WithPrimitives')].inner.generics.params[0].kind.lifetime.outlives" []
5 // @is "$.index[*][?(@.name=='WithPrimitives')].inner.kind.plain.fields_stripped" true
6 // @is "$.index[*][?(@.name=='WithPrimitives')].inner.kind.plain.fields" []
7 pub struct WithPrimitives<'a> {
8     num: u32,
9     s: &'a str,
10 }