File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/test/ui/consts/const-eval Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#![ 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
33
44use std:: mem;
55use std:: ptr:: NonNull ;
Original file line number Diff line number Diff line change 11// ignore-tidy-linelength
22#![ 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
44
55use std:: mem;
66
Original file line number Diff line number Diff line change 11#![ 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
33
44use std:: mem;
55
You can’t perform that action at this time.
0 commit comments