1 use std::num::NonZeroU8 as N8;
2 use std::num::NonZeroU16 as N16;
5 pub struct Cloaked(N16);
6 //~^^ ERROR the attribute `repr(no_niche)` is currently unstable [E0658]
8 #[repr(transparent, no_niche)]
9 pub struct Shadowy(N16);
10 //~^^ ERROR the attribute `repr(no_niche)` is currently unstable [E0658]
13 pub enum Cloaked1 { _A(N16), }
14 //~^^ ERROR the attribute `repr(no_niche)` is currently unstable [E0658]
17 pub enum Cloaked2 { _A(N16), _B(u8, N8) }
18 //~^^ ERROR the attribute `repr(no_niche)` is currently unstable [E0658]