mirror of https://github.com/rust-lang/rust
13 lines
460 B
Rust
13 lines
460 B
Rust
//@ set AlwaysNone = "$.index[*][?(@.name == 'AlwaysNone')].id"
|
|
pub enum AlwaysNone {
|
|
//@ set None = "$.index[*][?(@.name == 'None')].id"
|
|
None,
|
|
}
|
|
//@ is "$.index[*][?(@.name == 'AlwaysNone')].inner.enum.variants[*]" $None
|
|
|
|
//@ set use_None = "$.index[*][?(@.inner.use)].id"
|
|
//@ is "$.index[*][?(@.inner.use)].inner.use.id" $None
|
|
pub use AlwaysNone::None;
|
|
|
|
//@ ismany "$.index[*][?(@.name == 'use_variant')].inner.module.items[*]" $AlwaysNone $use_None
|