]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-transparent_enums.rs
Implement RFC 2645 (transparent enums and unions)
[rust.git] / src / test / ui / feature-gates / feature-gate-transparent_enums.rs
1 #[repr(transparent)]
2 enum OkButUnstableEnum { //~ ERROR transparent enums are unstable
3     Foo((), String, ()),
4 }
5
6 fn main() {}