2021-09-26 18:22:07 +02:00
|
|
|
#![no_std]
|
|
|
|
|
2022-09-10 01:30:47 +01:00
|
|
|
// @is "$.index[*][?(@.name=='Ux')].visibility" \"public\"
|
2023-05-22 18:17:52 +01:00
|
|
|
// @has "$.index[*][?(@.name=='Ux')].inner.union"
|
2021-09-26 18:22:07 +02:00
|
|
|
pub union Ux {
|
|
|
|
a: u32,
|
|
|
|
b: u64
|
|
|
|
}
|
|
|
|
|
2022-09-10 01:30:47 +01:00
|
|
|
// @is "$.index[*][?(@.name=='Num')].visibility" \"public\"
|
2023-05-22 18:17:52 +01:00
|
|
|
// @has "$.index[*][?(@.name=='Num')].inner.trait"
|
2021-09-26 18:22:07 +02:00
|
|
|
pub trait Num {}
|
|
|
|
|
2023-05-22 18:17:52 +01:00
|
|
|
// @count "$.index[*][?(@.name=='Ux')].inner.union.impls" 1
|
2021-09-26 18:22:07 +02:00
|
|
|
impl Num for Ux {}
|