mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-04 19:12:50 +00:00
fix tests
This commit is contained in:
parent
4821663a2b
commit
689c210b47
@ -1,5 +1,5 @@
|
||||
#![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::ptr::NonNull;
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ignore-tidy-linelength
|
||||
#![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;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#![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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user