From c5cae7935b2ca1c482cd1c8542bd33e5fc3d888c Mon Sep 17 00:00:00 2001 From: thedarkula Date: Mon, 20 Aug 2018 19:51:48 +0100 Subject: Made std::intrinsics::transmute() const fn. --- src/libsyntax/feature_gate.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libsyntax') 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), -- cgit 1.4.1-3-g733a5