Make From impls of NonZero integer const.

I also changed the feature gate added to `From` impls of Atomic integer to `const_num_from_num` from `const_convert`.
This commit is contained in:
woppopo
2021-10-20 12:04:58 +09:00
parent 42983a28ab
commit 2fc780638e
5 changed files with 13 additions and 8 deletions

View File

@@ -115,6 +115,7 @@
#![feature(const_likely)]
#![feature(const_maybe_uninit_as_ptr)]
#![feature(const_maybe_uninit_assume_init)]
#![feature(const_num_from_num)]
#![feature(const_option)]
#![feature(const_pin)]
#![feature(const_replace)]