mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
13 lines
603 B
Rust
13 lines
603 B
Rust
// ignore-tidy-linelength
|
|
|
|
// @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.fields_stripped" true
|
|
// @is "$.index[*][?(@.name=='WithPrimitives')].inner.struct.kind.plain.fields" []
|
|
pub struct WithPrimitives<'a> {
|
|
num: u32,
|
|
s: &'a str,
|
|
}
|