Skip to content

Commit cf57409

Browse files
committed
tweak const-valid test
1 parent 72b2abf commit cf57409

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/ui/consts/const-eval/valid-const.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// build-pass (FIXME(62277): could be check-pass?)
1+
// check-pass
22

33
// Some constants that *are* valid
44
#![feature(const_transmute)]
5+
#![deny(const_err)]
56

67
use std::mem;
78
use std::ptr::NonNull;

0 commit comments

Comments
 (0)