fix tests

This commit is contained in:
Ralf Jung 2019-08-17 13:45:11 +02:00
parent 4821663a2b
commit 689c210b47
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#![feature(rustc_attrs, const_transmute)] #![feature(rustc_attrs, const_transmute)]
#![allow(const_err)] // make sure we cannot allow away the errors tested here #![allow(const_err, invalid_value)] // make sure we cannot allow away the errors tested here
use std::mem; use std::mem;
use std::ptr::NonNull; use std::ptr::NonNull;

View file

@ -1,6 +1,6 @@
// ignore-tidy-linelength // ignore-tidy-linelength
#![feature(const_transmute)] #![feature(const_transmute)]
#![allow(const_err)] // make sure we cannot allow away the errors tested here #![allow(const_err, invalid_value)] // make sure we cannot allow away the errors tested here
use std::mem; use std::mem;

View file

@ -1,5 +1,5 @@
#![feature(const_transmute)] #![feature(const_transmute)]
#![allow(const_err)] // make sure we cannot allow away the errors tested here #![allow(const_err, invalid_value)] // make sure we cannot allow away the errors tested here
use std::mem; use std::mem;