We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47668ed commit 284b169Copy full SHA for 284b169
src/test/ui/consts/cast-discriminant-zst-enum.rs
@@ -1,5 +1,6 @@
1
// run-pass
2
// Test a ZST enum whose dicriminant is ~0i128. This caused an ICE when casting to a i32.
3
+#![feature(test)]
4
use std::hint::black_box;
5
6
#[derive(Copy, Clone)]
0 commit comments