]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/tag-variant-disr-non-nullary.rs
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / tag-variant-disr-non-nullary.rs
index 305edc4ad5a0489d3e178abfad86a064ba651ec2..a9cfdd549c752233f40a6608474f7a9d362ee375 100644 (file)
@@ -1,6 +1,6 @@
 enum Color {
     Red = 0xff0000,
-    //~^ ERROR custom discriminant values are not allowed in enums with fields
+    //~^ ERROR custom discriminant values are not allowed in enums with tuple or struct variants
     Green = 0x00ff00,
     Blue = 0x0000ff,
     Black = 0x000000,