stabilize const_nonzero_int_methods
This commit is contained in:
parent
c86039b333
commit
6dfe144bdd
2 changed files with 2 additions and 3 deletions
|
|
@ -1,7 +1,5 @@
|
|||
// run-pass
|
||||
|
||||
#![feature(const_nonzero_int_methods)]
|
||||
|
||||
use std::num::NonZeroU8;
|
||||
|
||||
const X: NonZeroU8 = unsafe { NonZeroU8::new_unchecked(5) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue