]> git.lizzy.rs Git - rust.git/commitdiff
Remove incorrect comments from a few test cases.
authorKevin Atkinson <kevina@cs.utah.edu>
Fri, 20 Jan 2012 00:31:36 +0000 (17:31 -0700)
committerKevin Atkinson <kevina@cs.utah.edu>
Fri, 20 Jan 2012 00:31:36 +0000 (17:31 -0700)
src/test/compile-fail/tag-variant-cast-non-nullary.rs
src/test/compile-fail/tag-variant-disr-non-nullary.rs

index f605407b8828ea49aef0fe3a065078afce76dd34..167ae61b2ced2cf6f2d20264857ee1a808588bf7 100644 (file)
@@ -1,5 +1,4 @@
 //error-pattern: non-scalar cast
-// black and white have the same discriminator value ...
 
 enum non_nullary {
     nullary;
index 2885b6ac98fa4735a2ac8a4c1047c2a4778b44cf..b3847b440c0218620d88eb4749db1113e3ba4601 100644 (file)
@@ -1,5 +1,4 @@
 //error-pattern: discriminator values can only be used with a c-like enum
-// black and white have the same discriminator value ...
 
 enum color {
     red = 0xff0000;