diff options
| author | thedarkula <thedarkula2049@gmail.com> | 2018-08-20 19:51:48 +0100 |
|---|---|---|
| committer | thedarkula <thedarkula2049@gmail.com> | 2018-08-30 13:06:20 +0100 |
| commit | c5cae7935b2ca1c482cd1c8542bd33e5fc3d888c (patch) | |
| tree | 623e049c495884d79cdcdcf108f4a7072dafa1c7 /src/libsyntax | |
| parent | e6b35b0e1115f008796e8313574e4a4739b6d39d (diff) | |
| download | rust-c5cae7935b2ca1c482cd1c8542bd33e5fc3d888c.tar.gz rust-c5cae7935b2ca1c482cd1c8542bd33e5fc3d888c.zip | |
Made std::intrinsics::transmute() const fn.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 6dd788bf6e2..bb5d929a323 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -221,6 +221,9 @@ declare_features! ( // Allows dereferencing raw pointers during const eval (active, const_raw_ptr_deref, "1.27.0", Some(51911), None), + // Allows reinterpretation of the bits of a value of one type as another type during const eval + (active, const_transmute, "1.29.0", Some(53605), None), + // Allows comparing raw pointers during const eval (active, const_compare_raw_pointers, "1.27.0", Some(53020), None), |
