diff options
| author | bors <bors@rust-lang.org> | 2018-09-03 16:31:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-09-03 16:31:34 +0000 |
| commit | cd5c26f0eb48c8f32ea86e9f2434d905ff2cfc74 (patch) | |
| tree | 155c8f01c3c62548c76441cb207504e1024345d3 /src/librustc_mir/lib.rs | |
| parent | ee73f80dc963707df3b3da82976556d64cac5752 (diff) | |
| parent | 4811e5b6c71657772b4c12e6f5cbb5c1624bf669 (diff) | |
Auto merge of #53697 - Cyres:const-fn-int-ops, r=oli-obk
Add more const int ops r? @oli-obk Tracking Issue: #53718 list of `const fn`s in this PR: - `feature = const_int_rotate` - `rotate_left` - `rotate_right` - `feature = const_int_wrapping` - `wrapping_add` - `wrapping_sub` - `wrapping_mul` - `wrapping_shl` - `wrapping_shr` - `feature = const_int_overflowing` - `overflowing_add` - `overflowing_sub` - `overflowing_mul` - `overflowing_shl` - `overflowing_shr` - `feature = const_int_sign` - `is_positive` - `is_negative` - `feature = const_int_conversion` - `reverse_bits` - `to_le_bytes` - `to_ne_bytes` - `from_be_bytes` - `from_le_bytes` - `from_ne_bytes` - `reverse_bits`
Diffstat (limited to 'src/librustc_mir/lib.rs')
| -rw-r--r-- | src/librustc_mir/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_mir/lib.rs b/src/librustc_mir/lib.rs index a55f0496c2d..be04f75c726 100644 --- a/src/librustc_mir/lib.rs +++ b/src/librustc_mir/lib.rs @@ -37,6 +37,7 @@ Rust MIR: a lowered representation of Rust. Also: an experiment! #![feature(slice_concat_ext)] #![feature(if_while_or_patterns)] #![feature(try_from)] +#![feature(reverse_bits)] #![recursion_limit="256"] |
