]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-json/structs/with_primitives.rs
Fix feature gate checking of static-nobundle and native_link_modifiers
[rust.git] / src / test / rustdoc-json / structs / with_primitives.rs
1 // @has with_primitives.json "$.index[*][?(@.name=='WithPrimitives')].visibility" \"public\"
2 // @has - "$.index[*][?(@.name=='WithPrimitives')].kind" \"struct\"
3 // @has - "$.index[*][?(@.name=='WithPrimitives')].inner.generics.params[0].name" \"\'a\"
4 // @has - "$.index[*][?(@.name=='WithPrimitives')].inner.generics.params[0].kind" \"lifetime\"
5 // @has - "$.index[*][?(@.name=='WithPrimitives')].inner.struct_type" \"plain\"
6 // @has - "$.index[*][?(@.name=='WithPrimitives')].inner.fields_stripped" true
7 pub struct WithPrimitives<'a> {
8     num: u32,
9     s: &'a str,
10 }