diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-07 13:05:59 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2020-09-07 13:05:59 +0200 |
| commit | 284b16913aa6fccdf7b14edc3bb2693aadd39919 (patch) | |
| tree | 651f5aaf9c51c9b640ae1908fce6ef24a7bf7f26 | |
| parent | 47668edb64ed1f8676cfcb4c9ccb6fe018f660c5 (diff) | |
| download | rust-284b16913aa6fccdf7b14edc3bb2693aadd39919.tar.gz rust-284b16913aa6fccdf7b14edc3bb2693aadd39919.zip | |
add missing feature flag
| -rw-r--r-- | src/test/ui/consts/cast-discriminant-zst-enum.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/consts/cast-discriminant-zst-enum.rs b/src/test/ui/consts/cast-discriminant-zst-enum.rs index 743043609ec..9c02d232e13 100644 --- a/src/test/ui/consts/cast-discriminant-zst-enum.rs +++ b/src/test/ui/consts/cast-discriminant-zst-enum.rs @@ -1,5 +1,6 @@ // run-pass // Test a ZST enum whose dicriminant is ~0i128. This caused an ICE when casting to a i32. +#![feature(test)] use std::hint::black_box; #[derive(Copy, Clone)] |
