File tree 3 files changed +3
-3
lines changed
src/test/ui/consts/const-eval
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
#![ feature( rustc_attrs, const_transmute) ]
2
- #![ allow( const_err) ] // make sure we cannot allow away the errors tested here
2
+ #![ allow( const_err, invalid_value ) ] // make sure we cannot allow away the errors tested here
3
3
4
4
use std:: mem;
5
5
use std:: ptr:: NonNull ;
Original file line number Diff line number Diff line change 1
1
// ignore-tidy-linelength
2
2
#![ feature( const_transmute) ]
3
- #![ allow( const_err) ] // make sure we cannot allow away the errors tested here
3
+ #![ allow( const_err, invalid_value ) ] // make sure we cannot allow away the errors tested here
4
4
5
5
use std:: mem;
6
6
Original file line number Diff line number Diff line change 1
1
#![ feature( const_transmute) ]
2
- #![ allow( const_err) ] // make sure we cannot allow away the errors tested here
2
+ #![ allow( const_err, invalid_value ) ] // make sure we cannot allow away the errors tested here
3
3
4
4
use std:: mem;
5
5
You can’t perform that action at this time.
0 commit comments