]> git.lizzy.rs Git - rust.git/blobdiff - src/test/auxiliary/xcrate_unit_struct.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / test / auxiliary / xcrate_unit_struct.rs
index a72bf307e5dd6fb22871b907795aa21f0126d82e..6487c704765b352b1454c480461e8e122a3bce80 100644 (file)
@@ -8,14 +8,14 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[crate_type = "lib"];
+#![crate_type = "lib"]
 
 // used by the rpass test
 
 pub struct Struct;
 
 pub enum Unit {
-    Unit,
+    UnitVariant,
     Argument(Struct)
 }