tweak const-valid test

This commit is contained in:
Ralf Jung 2019-08-30 09:30:59 +02:00
parent 72b2abfd65
commit cf574091fb

View File

@ -1,7 +1,8 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// Some constants that *are* valid
#![feature(const_transmute)]
#![deny(const_err)]
use std::mem;
use std::ptr::NonNull;