Skip to content

Commit 4f9e7ba

Browse files
committed
Un-xfail test for #3521; it works now
Closes #3521
1 parent c886629 commit 4f9e7ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/run-pass/issue-3521.rs renamed to src/test/compile-fail/issue-3521.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// xfail-test
21
fn main() {
32
let foo = 100;
43

54
enum Stuff {
6-
Bar = foo
5+
Bar = foo //~ ERROR attempt to use a non-constant value in a constant
76
}
87

98
log(error, Bar);

0 commit comments

Comments
 (0)