Make unchecked_{add,sub,mul} inherent methods unstably const

This commit is contained in:
ltdk
2021-05-08 20:18:44 -04:00
parent 777bb2f612
commit 380bbe8d47
3 changed files with 19 additions and 12 deletions

View File

@@ -77,6 +77,7 @@
#![feature(const_float_classify)]
#![feature(const_float_bits_conv)]
#![feature(const_int_unchecked_arith)]
#![feature(const_inherent_unchecked_arith)]
#![feature(const_mut_refs)]
#![feature(const_refs_to_cell)]
#![feature(const_panic)]