Skip to content

Commit 284b169

Browse files
committed
add missing feature flag
1 parent 47668ed commit 284b169

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/ui/consts/cast-discriminant-zst-enum.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// run-pass
22
// Test a ZST enum whose dicriminant is ~0i128. This caused an ICE when casting to a i32.
3+
#![feature(test)]
34
use std::hint::black_box;
45

56
#[derive(Copy, Clone)]

0 commit comments

Comments
 (0)