Skip to content

Commit b58f2b7

Browse files
committed
Merge pull request #1571 from kevina/fixup-1
Remove incorrect comments from a few test cases.
2 parents a5e1848 + d388daa commit b58f2b7

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/test/compile-fail/tag-variant-cast-non-nullary.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//error-pattern: non-scalar cast
2-
// black and white have the same discriminator value ...
32

43
enum non_nullary {
54
nullary;

src/test/compile-fail/tag-variant-disr-non-nullary.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//error-pattern: discriminator values can only be used with a c-like enum
2-
// black and white have the same discriminator value ...
32

43
enum color {
54
red = 0xff0000;

0 commit comments

Comments
 (0)