mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
16 lines
370 B
Rust
16 lines
370 B
Rust
#![no_std]
|
|
|
|
// @is "$.index[*][?(@.name=='Ux')].visibility" \"public\"
|
|
// @has "$.index[*][?(@.name=='Ux')].inner.union"
|
|
pub union Ux {
|
|
a: u32,
|
|
b: u64
|
|
}
|
|
|
|
// @is "$.index[*][?(@.name=='Num')].visibility" \"public\"
|
|
// @has "$.index[*][?(@.name=='Num')].inner.trait"
|
|
pub trait Num {}
|
|
|
|
// @count "$.index[*][?(@.name=='Ux')].inner.union.impls" 1
|
|
impl Num for Ux {}
|