mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-03 05:27:36 +00:00

The rustdoc-json test syntax often requires very long lines, so the checks for long lines aren't really useful.
11 lines
580 B
Rust
11 lines
580 B
Rust
//@ 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,
|
|
}
|