]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/const-struct-offsets.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / const-struct-offsets.rs
index b79d9d6beba8706db217535047d9ac11cab9f6aa..98dbf1eaa69a4ab2f1221f7c7719f2c2923dda7e 100644 (file)
@@ -18,6 +18,6 @@ struct Bar {
     v: Foo
 }
 
-static bar: Bar = Bar { i: 0, v: IntVal(0) };
+static bar: Bar = Bar { i: 0, v: Foo::IntVal(0) };
 
 pub fn main() {}