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