We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af2c50f + bd69a92 commit f8a3553Copy full SHA for f8a3553
rust-version
@@ -1 +1 @@
1
-c396bb3b8a16b1f2762b7c6078dc3e023f6a2493
+cbb07c27a4d78f95557a6b9cdcc32f98d67a0c22
tests/pass/union-overwrite.rs
@@ -1,5 +1,3 @@
-#![feature(untagged_unions)]
2
-
3
#[repr(C)]
4
#[derive(Clone, Copy)]
5
struct Pair<T, U>(T, U);
tests/pass/union.rs
fn main() {
a();
b();
@@ -22,6 +20,7 @@ fn a() {
22
20
}
23
21
24
fn b() {
+ #[derive(Copy, Clone)]
25
struct S {
26
x: u32,
27
y: u32,
0 commit comments