about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2019-05-26 09:58:06 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2019-06-06 17:20:06 +0100
commit0d75ab2293a106eb674ac01860910cfc1580837e (patch)
treebe914e8f7fae9fb4eb30f22f986e15635a5c74fc /src/libsyntax
parent6c9a018b60d1222217645ef4015764fd33b14a3f (diff)
downloadrust-0d75ab2293a106eb674ac01860910cfc1580837e.tar.gz
rust-0d75ab2293a106eb674ac01860910cfc1580837e.zip
Make constructors actually be const functions
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index 4a95b6f69a1..0043b8a1c47 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -560,6 +560,10 @@ declare_features! (
     // Allows the user of associated type bounds.
     (active, associated_type_bounds, "1.34.0", Some(52662), None),
 
+    // Allows calling constructor functions in `const fn`
+    // FIXME Create issue
+    (active, const_constructor, "1.37.0", Some(61456), None),
+
     // -------------------------------------------------------------------------
     // feature-group-end: actual feature gates
     // -------------------------------------------------------------------------