Make checked arithmetic besides division const

Co-Authored-By: 9999years <rbt@sent.as>
This commit is contained in:
Dylan MacKenzie
2020-02-03 13:19:07 -08:00
parent d9e3d2a531
commit 37c141885a
2 changed files with 27 additions and 13 deletions

View File

@@ -72,6 +72,7 @@
#![feature(concat_idents)]
#![feature(const_alloc_layout)]
#![feature(const_if_match)]
#![feature(const_int_checked)]
#![feature(const_int_euclidean)]
#![feature(const_panic)]
#![feature(const_fn_union)]