]> git.lizzy.rs Git - rust.git/blob - src/test/ui/union/union-nonrepresentable.rs
Rollup merge of #93385 - CraftSpider:rustdoc-ty-fixes, r=camelid
[rust.git] / src / test / ui / union / union-nonrepresentable.rs
1 #![feature(untagged_unions)]
2
3 union U { //~ ERROR recursive type `U` has infinite size
4     a: u8,
5     b: U,
6 }
7
8 fn main() {}